Don't marshal a function for getbestblockhash replies.
This commit is contained in:
parent
b97a2145d8
commit
d403863e2b
1 changed files with 1 additions and 1 deletions
|
@ -515,7 +515,7 @@ func handleGetBestBlockHash(s *rpcServer, cmd btcjson.Cmd, walletNotification ch
|
||||||
return nil, btcjson.ErrBestBlockHash
|
return nil, btcjson.ErrBestBlockHash
|
||||||
}
|
}
|
||||||
|
|
||||||
return sha.String, nil
|
return sha.String(), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// handleGetBlock implements the getblock command.
|
// handleGetBlock implements the getblock command.
|
||||||
|
|
Loading…
Reference in a new issue