(n, expected_bals)
| 108 | |
| 109 | |
| 110 | def check_balance_snaps(n, expected_bals): |
| 111 | snaps = n.rpc.listsnapshots()['balance_snapshots'] |
| 112 | for snap, exp in zip(snaps, expected_bals): |
| 113 | if snap['blockheight'] != exp['blockheight']: |
| 114 | raise Exception('Unexpected balance snap blockheight: {} vs {}'.format(_dictify(snap), _dictify(exp))) |
| 115 | if _dictify(snap) != _dictify(exp): |
| 116 | raise Exception('Unexpected balance snap: {} vs {}'.format(_dictify(snap), _dictify(exp))) |
| 117 | |
| 118 | |
| 119 | def check_coin_moves(n, account_id, expected_moves, chainparams): |
nothing calls this directly
no test coverage detected