MCPcopy Create free account
hub / github.com/ElementsProject/lightning / bkpr_account_balance

Function bkpr_account_balance

tests/utils.py:74–77  ·  view source on GitHub ↗
(node, acct_id)

Source from the content-addressed store, hash-verified

72
73
74def 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
80def move_matches(exp, mv):

Callers 7

test_script_splice_outFunction · 0.90
test_script_splice_inFunction · 0.90
test_script_splice_msatFunction · 0.90
test_easy_splice_outFunction · 0.90

Calls 1

only_oneFunction · 0.90

Tested by 7

test_script_splice_outFunction · 0.72
test_script_splice_inFunction · 0.72
test_script_splice_msatFunction · 0.72
test_easy_splice_outFunction · 0.72