Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ amount_sat_eq
Function
amount_sat_eq
common/amount.c:428–431 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
426
}
427
428
bool amount_sat_eq(struct amount_sat a, struct amount_sat b)
429
{
430
return a.satoshis == b.satoshis;
431
}
432
433
bool amount_sat_is_zero(struct amount_sat a)
434
{
Callers
15
calculate_amounts
Function · 0.70
do_quickclose
Function · 0.50
main
Function · 0.50
grind_htlc_tx_fee
Function · 0.50
set_htlc_timeout_fee
Function · 0.50
get_htlc_success_fee
Function · 0.50
main
Function · 0.50
psbt_elements_normalize_fees
Function · 0.50
change_for_emergency
Function · 0.50
json_fundpsbt
Function · 0.50
json_addpsbtinput
Function · 0.50
json_utxopsbt
Function · 0.50
Calls
no outgoing calls
Tested by
3
main
Function · 0.40
channel_inflightseq
Function · 0.40
main
Function · 0.40