MCPcopy 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
428bool amount_sat_eq(struct amount_sat a, struct amount_sat b)
429{
430 return a.satoshis == b.satoshis;
431}
432
433bool amount_sat_is_zero(struct amount_sat a)
434{

Callers 15

calculate_amountsFunction · 0.70
do_quickcloseFunction · 0.50
mainFunction · 0.50
grind_htlc_tx_feeFunction · 0.50
set_htlc_timeout_feeFunction · 0.50
get_htlc_success_feeFunction · 0.50
mainFunction · 0.50
change_for_emergencyFunction · 0.50
json_fundpsbtFunction · 0.50
json_addpsbtinputFunction · 0.50
json_utxopsbtFunction · 0.50

Calls

no outgoing calls

Tested by 3

mainFunction · 0.40
channel_inflightseqFunction · 0.40
mainFunction · 0.40