Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
106
def
_dictify(balances):
107
return
{b[
'account_id'
]: Millisatoshi(b[
'balance_msat'
])
for
b in balances[
'accounts'
]}
108
109
110
def
check_balance_snaps(n, expected_bals):
Callers
1
check_balance_snaps
Function · 0.85
Calls
1
Millisatoshi
Class · 0.90
Tested by
no test coverage detected