mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-02 18:35:00 +01:00
elements: update output amounts for elements test
The amount we expect back, post change, is different for an elements tx
This commit is contained in:
parent
f5f85b389d
commit
eec5dfe6aa
1 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue