diff --git a/test/functional/rpc_fundrawtransaction.py b/test/functional/rpc_fundrawtransaction.py index aef5b15ad5..ceeaba0b57 100755 --- a/test/functional/rpc_fundrawtransaction.py +++ b/test/functional/rpc_fundrawtransaction.py @@ -1140,7 +1140,7 @@ def test_external_inputs(self): input_add_weight = high_input_weight - (41 * 4) tx4_weight = ext_fund.decoderawtransaction(funded_tx4["hex"])["weight"] + input_add_weight tx4_vsize = int(ceil(tx4_weight / 4)) - # assert_fee_amount(funded_tx4["fee"], tx4_vsize, Decimal(0.0001)) + # assert_fee_amount(funded_tx4["fee"], tx4_vsize, Decimal(0.0001)) Fee is different in Elements # Funding with weight at csuint boundaries should not cause problems funded_tx = ext_fund.fundrawtransaction(raw_tx, {"input_weights": [{"txid": ext_utxo["txid"], "vout": ext_utxo["vout"], "weight": 255}]}) diff --git a/test/functional/wallet_send.py b/test/functional/wallet_send.py index c5dec95d29..7e28bb9026 100755 --- a/test/functional/wallet_send.py +++ b/test/functional/wallet_send.py @@ -564,7 +564,7 @@ def run_test(self): tx = self.nodes[0].finalizepsbt(signed["psbt"]) testres = self.nodes[0].testmempoolaccept([tx["hex"]])[0] assert_equal(testres["allowed"], True) - # assert_fee_amount(testres["fees"]["base"], testres["vsize"], Decimal(0.0001)) + # assert_fee_amount(testres["fees"]["base"], testres["vsize"], Decimal(0.0001)) Fee is different in Elements if __name__ == '__main__': WalletSendTest().main()