mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
test: fix wallet_fundrawtransaction.py
left some FIXMEs for when sendall is upgraded to support blinded addresses
This commit is contained in:
parent
6d5d61b913
commit
f5d048649c
4 changed files with 58 additions and 27 deletions
|
|
@ -74,7 +74,7 @@ static RPCHelpMan sendrawtransaction()
|
|||
|
||||
const uint256& parent_blockhash = Params().ParentGenesisBlockHash();
|
||||
for (const auto& out : mtx.vout) {
|
||||
if(((out.scriptPubKey.IsUnspendableNotFee() && !out.scriptPubKey.IsPegoutScript(parent_blockhash)) || !out.scriptPubKey.HasValidOps()) && out.nValue.GetAmount() > max_burn_amount) {
|
||||
if(((out.scriptPubKey.IsUnspendableNotFee() && !out.scriptPubKey.IsPegoutScript(parent_blockhash)) || !out.scriptPubKey.HasValidOps()) && out.nValue.IsExplicit() && out.nValue.GetAmount() > max_burn_amount) {
|
||||
throw JSONRPCTransactionError(TransactionError::MAX_BURN_EXCEEDED);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue