mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Merge db88db4727 into merged_master (Bitcoin PR #19339)
Changes API for AcceptToMemoryPool to no longer check maximum fee; we remove this check from interfaces::CChain::testPeginClaimAcceptance. This is fine, the check never should have been there (this method's job is to notice double claim attempts and provide a more helpful message to the user; other mempool failures should be caught later in the `claimrawpegin` logic when we call `pwallet->commitTransaction` which actually subits to the mempool). It was only checking fees because the API made it easier to do so than to not.
This commit is contained in:
commit
ab283556b0
18 changed files with 67 additions and 51 deletions
|
|
@ -31,7 +31,7 @@ BOOST_FIXTURE_TEST_CASE(tx_mempool_block_doublespend, TestChain100Setup)
|
|||
|
||||
TxValidationState state;
|
||||
return AcceptToMemoryPool(*m_node.mempool, state, MakeTransactionRef(tx),
|
||||
nullptr /* plTxnReplaced */, true /* bypass_limits */, 0 /* nAbsurdFee */);
|
||||
nullptr /* plTxnReplaced */, true /* bypass_limits */);
|
||||
};
|
||||
|
||||
// Create a double-spend of mature coinbase txn:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue