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

Function _dictify

tests/utils.py:106–107  ·  view source on GitHub ↗
(balances)

Source from the content-addressed store, hash-verified

104
105
106def _dictify(balances):
107 return {b['account_id']: Millisatoshi(b['balance_msat']) for b in balances['accounts']}
108
109
110def check_balance_snaps(n, expected_bals):

Callers 1

check_balance_snapsFunction · 0.85

Calls 1

MillisatoshiClass · 0.90

Tested by

no test coverage detected