MCPcopy Create free account
hub / github.com/ElementsProject/lightning / amount_msat_greater_eq_sat

Function amount_msat_greater_eq_sat

common/amount.c:432–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430}
431
432bool amount_msat_greater_eq_sat(struct amount_msat msat, struct amount_sat sat)
433{
434 struct amount_msat msat_from_sat;
435
436 if (!amount_sat_to_msat(&msat_from_sat, sat))
437 return false;
438 return msat.millisatoshis >= msat_from_sat.millisatoshis;
439}
440
441bool amount_msat_less_sat(struct amount_msat msat, struct amount_sat sat)
442{

Callers 6

commit_txFunction · 0.85
mainFunction · 0.85
initial_commit_txFunction · 0.85
mainFunction · 0.85

Calls 1

amount_sat_to_msatFunction · 0.70

Tested by 1

mainFunction · 0.68