diff --git a/rpcserver.go b/rpcserver.go index 977a6f60..5fcd7af5 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -515,7 +515,7 @@ func handleGetBestBlockHash(s *rpcServer, cmd btcjson.Cmd, walletNotification ch return nil, btcjson.ErrBestBlockHash } - return sha.String, nil + return sha.String(), nil } // handleGetBlock implements the getblock command.