File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -265,6 +265,11 @@ def sanity_check_rbf_estimates(self, utxos):
265
265
# Broadcast 5 low fee transaction which don't need to
266
266
for _ in range (5 ):
267
267
tx = make_tx (self .wallet , utxos .pop (0 ), low_feerate )
268
+ self .confutxo .append ({
269
+ "txid" : tx ["txid" ],
270
+ "vout" : 0 ,
271
+ "value" : Decimal (tx ["tx" ].vout [0 ].nValue ) / COIN
272
+ })
268
273
txs .append (tx )
269
274
batch_send_tx = [node .sendrawtransaction .get_request (tx ["hex" ]) for tx in txs ]
270
275
for n in self .nodes :
@@ -278,12 +283,16 @@ def sanity_check_rbf_estimates(self, utxos):
278
283
while len (utxos_to_respend ) > 0 :
279
284
u = utxos_to_respend .pop (0 )
280
285
tx = make_tx (self .wallet , u , high_feerate )
286
+ self .confutxo .append ({
287
+ "txid" : tx ["txid" ],
288
+ "vout" : 0 ,
289
+ "value" : Decimal (tx ["tx" ].vout [0 ].nValue ) / COIN
290
+ })
281
291
node .sendrawtransaction (tx ["hex" ])
282
292
txs .append (tx )
283
293
dec_txs = [res ["result" ] for res in node .batch ([node .decoderawtransaction .get_request (tx ["hex" ]) for tx in txs ])]
284
294
self .wallet .scan_txs (dec_txs )
285
295
286
-
287
296
# Mine the last replacement txs
288
297
self .sync_mempools (wait = 0.1 , nodes = [node , miner ])
289
298
self .generate (miner , 1 )
You can’t perform that action at this time.
0 commit comments