diff --git a/tests/test_plugin.py b/tests/test_plugin.py index 8a94f80f1..cb3f6fe4d 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -1953,8 +1953,11 @@ def test_coin_movement_notices(node_factory, bitcoind, chainparams): l2_wallet_mvts = [ {'type': 'chain_mvt', 'credit': 2000000000, 'debit': 0, 'tag': 'deposit'}, {'type': 'chain_mvt', 'credit': 0, 'debit': 0, 'tag': 'spend_track'}, - {'type': 'chain_mvt', 'credit': 0, 'debit': 995410000, 'tag': 'withdrawal'}, - {'type': 'chain_mvt', 'credit': 0, 'debit': 1000000000, 'tag': 'withdrawal'}, + # Could go in either order + [ + {'type': 'chain_mvt', 'credit': 0, 'debit': 995410000, 'tag': 'withdrawal'}, + {'type': 'chain_mvt', 'credit': 0, 'debit': 1000000000, 'tag': 'withdrawal'}, + ], {'type': 'chain_mvt', 'credit': 0, 'debit': 4590000, 'tag': 'chain_fees'}, {'type': 'chain_mvt', 'credit': 995410000, 'debit': 0, 'tag': 'deposit'}, {'type': 'chain_mvt', 'credit': 100001000, 'debit': 0, 'tag': 'deposit'},