From f333314e52bc1a7e8f69e00e8fa2732a9b129d79 Mon Sep 17 00:00:00 2001 From: Jianping Wu Date: Tue, 2 Apr 2019 14:39:31 -0700 Subject: [PATCH] The first parameter of getblockheaderbyheight is integer. --- src/rpc/client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index b88c1bccd..47ccfc688 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -143,6 +143,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { "echojson", 9, "arg9" }, { "rescanblockchain", 0, "start_height"}, { "rescanblockchain", 1, "stop_height"}, + { "getblockheaderbyheight", 0, "height"}, }; class CRPCConvertTable