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
|
|
@ -30,7 +30,7 @@ bilingual_str TransactionErrorString(const TransactionError err)
|
|||
case TransactionError::SIGHASH_MISMATCH:
|
||||
return Untranslated("Specified sighash value does not match value stored in PSBT");
|
||||
case TransactionError::MAX_FEE_EXCEEDED:
|
||||
return Untranslated("Fee exceeds maximum configured by -maxtxfee");
|
||||
return Untranslated("Fee exceeds maximum configured by user (e.g. -maxtxfee, maxfeerate)");
|
||||
case TransactionError::BLINDING_REQUIRED:
|
||||
return Untranslated("Transaction is not yet fully blinded");
|
||||
case TransactionError::VALUE_IMBALANCE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue