From 0f4b9d976382ea26393411397a3e8bb8d3dbf7e9 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Sun, 2 Apr 2017 10:13:00 +0200 Subject: [PATCH] discovery: fix linter error --- discovery/validation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discovery/validation.go b/discovery/validation.go index c8d78d4f..72e96025 100644 --- a/discovery/validation.go +++ b/discovery/validation.go @@ -62,7 +62,7 @@ func (d *AuthenticatedGossiper) validateNodeAnn(a *lnwire.NodeAnnouncement) erro // return an error so this node announcement can be rejected. dataHash := chainhash.DoubleHashB(data) if !a.Signature.Verify(dataHash, copyPubKey(a.NodeID)) { - return errors.New("signature on node announcement is invalid!") + return errors.New("signature on node announcement is invalid") } return nil