diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2021-12-10 20:12:05 +0700 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2021-12-24 16:29:04 +0100 |
commit | 923312fbf6a89efde1739da0b7209694d4f892ba (patch) | |
tree | 886d6d648912f5cd68ba6ffe400ec4d81945f643 /src/rpc/client.cpp | |
parent | 34d5399211eeb61e7e7961c301fb2ddea8aa3f6a (diff) | |
download | bitcoin-923312fbf6a89efde1739da0b7209694d4f892ba.tar.xz |
rpc: use peer_id, block_hash for FetchBlock
Diffstat (limited to 'src/rpc/client.cpp')
-rw-r--r-- | src/rpc/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index a171972da3..0166230853 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -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" }, |