From 70eb3890290b68357b3005340b78cc27110da236 Mon Sep 17 00:00:00 2001 From: "Owain G. Ainsworth" Date: Thu, 13 Feb 2014 18:42:22 +0000 Subject: [PATCH] fmt. --- rpcserver.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpcserver.go b/rpcserver.go index 3b8e297..fabc1ad 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -1576,7 +1576,7 @@ func VerifyMessage(icmd btcjson.Cmd) (interface{}, *btcjson.Error) { } // decode base64 signature - sig, err := base64.StdEncoding.DecodeString(cmd.Signature) + sig, err := base64.StdEncoding.DecodeString(cmd.Signature) if err != nil { return nil, &btcjson.Error{ Code: btcjson.ErrWallet.Code, @@ -1587,8 +1587,8 @@ func VerifyMessage(icmd btcjson.Cmd) (interface{}, *btcjson.Error) { // Validate the signature - this just shows that it was valid at all. // we will compare it with the key next. pk, wasCompressed, err := btcec.RecoverCompact(btcec.S256(), sig, - btcwire.DoubleSha256([]byte("Bitcoin Signed Message:\n" + - cmd.Message))) + btcwire.DoubleSha256([]byte("Bitcoin Signed Message:\n"+ + cmd.Message))) if err != nil { return nil, &btcjson.Error{ Code: btcjson.ErrWallet.Code,