aboutsummaryrefslogtreecommitdiff
path: root/src/node
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2024-06-25 13:33:35 +0200
committerSjors Provoost <sjors@sprovoost.nl>2024-06-26 12:24:48 +0200
commit75ce7637ad75af890581660c0bb3565c3c03bd6c (patch)
tree4b2b91d13a8bc33083bef3b9df5d7bc7143ca089 /src/node
parent83a9bef0e2acad7655e23d30e1c52412f380d93d (diff)
refactor: testBlockValidity make out argument last
Diffstat (limited to 'src/node')
-rw-r--r--src/node/interfaces.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/interfaces.cpp b/src/node/interfaces.cpp
index e0bab6e22e..931b98e59c 100644
--- a/src/node/interfaces.cpp
+++ b/src/node/interfaces.cpp
@@ -870,7 +870,7 @@ public:
return context()->mempool->GetTransactionsUpdated();
}
- bool testBlockValidity(BlockValidationState& state, const CBlock& block, bool check_merkle_root) override
+ bool testBlockValidity(const CBlock& block, bool check_merkle_root, BlockValidationState& state) override
{
LOCK(::cs_main);
return TestBlockValidity(state, chainman().GetParams(), chainman().ActiveChainstate(), block, chainman().ActiveChain().Tip(), /*fCheckPOW=*/false, check_merkle_root);