Skip to content

Commit

Permalink
Add elements-specific descriptions to assertions commented out in the…
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdorfman committed Jul 24, 2023
1 parent ed9beba commit dca9352
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/functional/rpc_fundrawtransaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}]})
Expand Down
2 changes: 1 addition & 1 deletion test/functional/wallet_send.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit dca9352

Please sign in to comment.