From d403863e2b7f1d84e089183b40201b3cb80aa216 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Thu, 7 Nov 2013 13:53:22 -0500 Subject: [PATCH] Don't marshal a function for getbestblockhash replies. --- rpcserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.