101 | @@ -102,7 +102,7 @@ BOOST_FIXTURE_TEST_CASE(tx_mempool_block_doublespend, TestChain100Setup)
102 | // should fail.
103 | // Capture this interaction with the upgraded_nop argument: set it when evaluating
104 | // any script flag that is implemented as an upgraded NOP code.
105 | -static void ValidateCheckInputsForAllFlags(CMutableTransaction &tx, uint32_t failing_flags, bool add_to_cache)
106 | +static void ValidateCheckInputsForAllFlags(CTransaction tx, uint32_t failing_flags, bool add_to_cache)
Could be const or a const reference.
Agree that this should be a const ref