rpc: use peer_id, block_hash for FetchBlock

This commit is contained in:
Sjors Provoost
2021-12-10 20:12:05 +07:00
parent 34d5399211
commit 923312fbf6
4 changed files with 16 additions and 16 deletions

View File

@@ -60,7 +60,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "getbalance", 1, "minconf" },
{ "getbalance", 2, "include_watchonly" },
{ "getbalance", 3, "avoid_reuse" },
{ "getblockfrompeer", 1, "nodeid" },
{ "getblockfrompeer", 1, "peer_id" },
{ "getblockhash", 0, "height" },
{ "waitforblockheight", 0, "height" },
{ "waitforblockheight", 1, "timeout" },