Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ amount_msat_zero
Function
amount_msat_zero
common/amount.c:373–376 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
371
}
372
373
bool amount_msat_zero(struct amount_msat a)
374
{
375
return a.millisatoshis == 0;
376
}
377
378
bool amount_msat_eq(struct amount_msat a, struct amount_msat b)
379
{
Callers
15
channel_record_open
Function · 0.85
maybe_update_onchain_fees
Function · 0.85
json_add_channel_event
Function · 0.85
getblockheight_done
Function · 0.85
new_missed_channel_account
Function · 0.85
msat_find_diff
Function · 0.85
log_journal_entry
Function · 0.85
json_balance_snapshot
Function · 0.85
lookup_invoice_desc
Function · 0.85
parse_and_log_channel_move
Function · 0.85
maybe_channel_income
Function · 0.85
find_consolidated_fees
Function · 0.85
Calls
no outgoing calls
Tested by
2
test_onchain_fee_wallet_spend
Function · 0.68
test_onchain_fee_chan_close
Function · 0.68