mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-01 00:34:01 +02:00
wallet, rpc: add anti-fee-sniping to send and sendall
This commit is contained in:
@@ -53,7 +53,7 @@ class WalletRescanUnconfirmed(BitcoinTestFramework):
|
||||
# The only UTXO available to spend is tx_parent_to_reorg.
|
||||
assert_equal(len(w0_utxos), 1)
|
||||
assert_equal(w0_utxos[0]["txid"], tx_parent_to_reorg["txid"])
|
||||
tx_child_unconfirmed_sweep = w0.sendall([ADDRESS_BCRT1_UNSPENDABLE])
|
||||
tx_child_unconfirmed_sweep = w0.sendall(recipients=[ADDRESS_BCRT1_UNSPENDABLE], options={"locktime":0})
|
||||
assert tx_child_unconfirmed_sweep["txid"] in node.getrawmempool()
|
||||
node.syncwithvalidationinterfacequeue()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user