mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-03 12:11:52 +02:00
test: Set maxfeerate=0 in MiniWallet sendrawtransaction()
This commit is contained in:
@ -277,8 +277,8 @@ class MiniWallet:
|
||||
|
||||
return {'txid': tx.rehash(), 'wtxid': tx.getwtxid(), 'hex': tx_hex, 'tx': tx}
|
||||
|
||||
def sendrawtransaction(self, *, from_node, tx_hex, **kwargs):
|
||||
txid = from_node.sendrawtransaction(hexstring=tx_hex, **kwargs)
|
||||
def sendrawtransaction(self, *, from_node, tx_hex, maxfeerate=0, **kwargs):
|
||||
txid = from_node.sendrawtransaction(hexstring=tx_hex, maxfeerate=maxfeerate, **kwargs)
|
||||
self.scan_tx(from_node.decoderawtransaction(tx_hex))
|
||||
return txid
|
||||
|
||||
|
Reference in New Issue
Block a user