diff --git a/test/functional/feature_fee_estimation.py b/test/functional/feature_fee_estimation.py index ffc87f8b8bad0..976c11419672c 100755 --- a/test/functional/feature_fee_estimation.py +++ b/test/functional/feature_fee_estimation.py @@ -265,6 +265,11 @@ def sanity_check_rbf_estimates(self, utxos): # Broadcast 5 low fee transaction which don't need to for _ in range(5): tx = make_tx(self.wallet, utxos.pop(0), low_feerate) + self.confutxo.append({ + "txid": tx["txid"], + "vout": 0, + "value": Decimal(tx["tx"].vout[0].nValue) / COIN + }) txs.append(tx) batch_send_tx = [node.sendrawtransaction.get_request(tx["hex"]) for tx in txs] for n in self.nodes: @@ -278,12 +283,16 @@ def sanity_check_rbf_estimates(self, utxos): while len(utxos_to_respend) > 0: u = utxos_to_respend.pop(0) tx = make_tx(self.wallet, u, high_feerate) + self.confutxo.append({ + "txid": tx["txid"], + "vout": 0, + "value": Decimal(tx["tx"].vout[0].nValue) / COIN + }) node.sendrawtransaction(tx["hex"]) txs.append(tx) dec_txs = [res["result"] for res in node.batch([node.decoderawtransaction.get_request(tx["hex"]) for tx in txs])] self.wallet.scan_txs(dec_txs) - # Mine the last replacement txs self.sync_mempools(wait=0.1, nodes=[node, miner]) self.generate(miner, 1)