diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-09-15 11:10:51 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-11-17 09:25:14 +0100 |
commit | fac49470ca36ff944a613f4358386bf8e0967427 (patch) | |
tree | dcc31a3b3ffa738c68720f09198001263b1963c0 /src/rpc/mining.cpp | |
parent | 398fd63356db9023665396c371d67a8c76edeb4d (diff) | |
download | bitcoin-fac49470ca36ff944a613f4358386bf8e0967427.tar.xz |
doc: Fix incorrect C++ named args
Diffstat (limited to 'src/rpc/mining.cpp')
-rw-r--r-- | src/rpc/mining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 518c41d12a..9e2b1ab07e 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -1010,7 +1010,7 @@ static RPCHelpMan submitblock() bool new_block; auto sc = std::make_shared<submitblock_StateCatcher>(block.GetHash()); RegisterSharedValidationInterface(sc); - bool accepted = chainman.ProcessNewBlock(Params(), blockptr, /* fForceProcessing */ true, /* fNewBlock */ &new_block); + bool accepted = chainman.ProcessNewBlock(Params(), blockptr, /*force_processing=*/true, /*new_block=*/&new_block); UnregisterSharedValidationInterface(sc); if (!new_block && accepted) { return "duplicate"; |