trb

trb
Log | Files | Refs

commit 19cbe4ad73ba557569c633a7a247e8775fc554d3
parent bc30748636bb0cf00ec5905c2c9a43219f123df8
Author: Shinoa-Fores <btcinfo@sdf.org>
Date:   Wed, 13 Jan 2021 17:22:36 -0500

mod6_fix_dumpblock_params.vpatch

Diffstat:
Mbitcoin/src/bitcoinrpc.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bitcoin/src/bitcoinrpc.cpp b/bitcoin/src/bitcoinrpc.cpp @@ -1784,7 +1784,7 @@ Value getmemorypool(const Array& params, bool fHelp) Value dumpblock(const Array& params, bool fHelp) { - if (fHelp || params.size() < 1 || params.size() > 2) + if (fHelp || params.size() != 2) throw runtime_error( "dumpblock <height> <filename>\n" "Emit the block at <height> to <filename>.");