Browse Source

elements: update output amounts for elements test

The amount we expect back, post change, is different for an elements tx
paymod-04
niftynei 4 years ago
committed by Rusty Russell
parent
commit
eec5dfe6aa
  1. 7
      tests/test_wallet.py

7
tests/test_wallet.py

@ -710,8 +710,13 @@ def test_sign_and_send_psbt(node_factory, bitcoind, chainparams):
# do proper acccounting for it.
{'type': 'chain_mvt', 'credit': 0, 'debit': 4000000000, 'tag': 'withdrawal'},
{'type': 'chain_mvt', 'credit': 0, 'debit': 0, 'tag': 'chain_fees'},
{'type': 'chain_mvt', 'credit': 988285000, 'debit': 0, 'tag': 'deposit'},
]
if chainparams['elements']:
wallet_coin_mvts.append({'type': 'chain_mvt', 'credit': 984625000, 'debit': 0, 'tag': 'deposit'})
else:
wallet_coin_mvts.append({'type': 'chain_mvt', 'credit': 988285000, 'debit': 0, 'tag': 'deposit'})
check_coin_moves(l1, 'wallet', wallet_coin_mvts, chainparams)

Loading…
Cancel
Save