refactor: testBlockValidity make out argument last

This commit is contained in:
Sjors Provoost committed 2024-06-26 12:24:48 +02:00
1 parent 83a9bef0e2
commit 75ce7637ad
3 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -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);