Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ amount_msat_is_zero
Function
amount_msat_is_zero
common/amount.c:438–441 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
436
}
437
438
bool amount_msat_is_zero(struct amount_msat a)
439
{
440
return a.millisatoshis == 0;
441
}
442
443
bool amount_msat_eq(struct amount_msat a, struct amount_msat b)
444
{
Callers
15
db_bind_credit_debit
Function · 0.85
migrate_setup_coinmoves
Function · 0.85
add_htlc
Function · 0.85
check_progress
Function · 0.85
json_add_forwarding_fields
Function · 0.85
routehint_candidates
Function · 0.85
channel_added_their_htlc
Function · 0.85
htlc_in_check
Function · 0.85
channel_record_open
Function · 0.85
is_fundee_should_forget
Function · 0.85
json_add_closed_channel
Function · 0.85
param_positive_msat_or_any
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