fmt.
This commit is contained in:
parent
5f52df997c
commit
70eb389029
1 changed files with 3 additions and 3 deletions
|
@ -1587,7 +1587,7 @@ 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" +
|
||||
btcwire.DoubleSha256([]byte("Bitcoin Signed Message:\n"+
|
||||
cmd.Message)))
|
||||
if err != nil {
|
||||
return nil, &btcjson.Error{
|
||||
|
|
Loading…
Reference in a new issue