test: Set maxfeerate=0 in MiniWallet sendrawtransaction()

This commit is contained in:
MacroFake committed 2022-06-01 17:07:05 +02:00
1 parent 9cc010f5a9
commit fafaad98f7
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -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