aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/blockchain.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2022-02-15 11:27:39 +0100
committerMarcoFalke <falke.marco@gmail.com>2022-02-15 11:12:05 +0100
commitfa8dad0e078c577d740a9667636733957586c035 (patch)
treed9b1b7d782ec89278df5f0f3e584cd7a659b70a3 /src/rpc/blockchain.cpp
parent7164e00e1bc4e30e69b38a7ba9c557d4fc5d5f87 (diff)
downloadbitcoin-fa8dad0e078c577d740a9667636733957586c035.tar.xz
rpc: Fix implicit-integer-sign-change in verifychain
Diffstat (limited to 'src/rpc/blockchain.cpp')
-rw-r--r--src/rpc/blockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp
index 69204e346a..e5ad8f1a60 100644
--- a/src/rpc/blockchain.cpp
+++ b/src/rpc/blockchain.cpp
@@ -1417,7 +1417,7 @@ static RPCHelpMan verifychain()
},
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
{
- const int check_level(request.params[0].isNull() ? DEFAULT_CHECKLEVEL : request.params[0].get_int());
+ const int check_level{request.params[0].isNull() ? DEFAULT_CHECKLEVEL : request.params[0].get_int()};
const int check_depth{request.params[1].isNull() ? DEFAULT_CHECKBLOCKS : request.params[1].get_int()};
ChainstateManager& chainman = EnsureAnyChainman(request.context);