From f40073cc80a046327cf49dbc0b79a88f37d833cb Mon Sep 17 00:00:00 2001 From: ivanlele Date: Wed, 18 Mar 2026 12:41:10 +0000 Subject: [PATCH] Remove outdated FIXME comments regarding fee correctness --- test/functional/mempool_truc.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/functional/mempool_truc.py b/test/functional/mempool_truc.py index 919967155b..24637cb58e 100755 --- a/test/functional/mempool_truc.py +++ b/test/functional/mempool_truc.py @@ -553,7 +553,6 @@ class MempoolTRUC(BitcoinTestFramework): node.sendrawtransaction(item["hex"]) self.check_mempool(txids_v2_100 + [tx_v3_parent["txid"], tx_v3_child_1["txid"]]) - # ELEMENTS FIXME: check correctness here, in bitcoin it is 4000000, but for some reason in elements it is 5556000. # Replacing 100 transactions is fine tx_v3_replacement_only = self.wallet.create_self_transfer_multi(utxos_to_spend=utxos_for_conflict, fee_per_output=5556000) # Override maxfeerate - it costs a lot to replace these 100 transactions. @@ -577,7 +576,6 @@ class MempoolTRUC(BitcoinTestFramework): tx_unrelated_replacee = self.wallet.send_self_transfer(from_node=node, utxo_to_spend=utxo_unrelated_conflict) assert tx_unrelated_replacee["txid"] in node.getrawmempool() - # ELEMENTS FIXME: check correctness here, in bitcoin you also do tx_v3_child_2["fee"] * COIN (maybe because it returns "0.001"?, but in elements it returns "1000") fee_to_beat = max(int(tx_v3_child_2["fee"]), int(tx_unrelated_replacee["fee"])) tx_v3_child_3 = self.wallet.create_self_transfer_multi(