(node, acct_id)
| 72 | |
| 73 | |
| 74 | def bkpr_account_balance(node, acct_id): |
| 75 | balances = node.rpc.bkpr_listbalances()['accounts'] |
| 76 | acct = only_one([acct for acct in balances if acct['account'] == acct_id]) |
| 77 | return only_one(acct['balances'])['balance_msat'] |
| 78 | |
| 79 | |
| 80 | def move_matches(exp, mv): |