@@ -257,7 +257,7 @@ def run_test(self):
257
257
tx .vin .append (CTxIn (COutPoint (int (txid2 , 16 ), 0 ), b"" ))
258
258
tx .vout .append (CTxOut (int (49.95 * COIN ), CScript ([OP_TRUE , OP_DROP ] * 15 + [OP_TRUE ]))) # Huge fee
259
259
tx .calc_sha256 ()
260
- txid3 = self .nodes [0 ].sendrawtransaction (ToHex (tx ), 0 )
260
+ txid3 = self .nodes [0 ].sendrawtransaction (hexstring = ToHex (tx ), maxfeerate = 0 )
261
261
assert tx .wit .is_null ()
262
262
assert txid3 in self .nodes [0 ].getrawmempool ()
263
263
@@ -566,7 +566,7 @@ def mine_and_test_listunspent(self, script_list, ismine):
566
566
tx .vout .append (CTxOut (10000000 , i ))
567
567
tx .rehash ()
568
568
signresults = self .nodes [0 ].signrawtransactionwithwallet (tx .serialize_without_witness ().hex ())['hex' ]
569
- txid = self .nodes [0 ].sendrawtransaction (signresults , 0 )
569
+ txid = self .nodes [0 ].sendrawtransaction (hexstring = signresults , maxfeerate = 0 )
570
570
txs_mined [txid ] = self .nodes [0 ].generate (1 )[0 ]
571
571
self .sync_blocks ()
572
572
watchcount = 0
@@ -618,7 +618,7 @@ def create_and_mine_tx_from_txids(self, txids, success=True):
618
618
tx .vout .append (CTxOut (0 , CScript ()))
619
619
tx .rehash ()
620
620
signresults = self .nodes [0 ].signrawtransactionwithwallet (tx .serialize_without_witness ().hex ())['hex' ]
621
- self .nodes [0 ].sendrawtransaction (signresults , 0 )
621
+ self .nodes [0 ].sendrawtransaction (hexstring = signresults , maxfeerate = 0 )
622
622
self .nodes [0 ].generate (1 )
623
623
self .sync_blocks ()
624
624
0 commit comments