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

Function amount_msat_div

common/amount.c:573–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

571}
572
573struct amount_msat amount_msat_div(struct amount_msat msat, u64 div)
574{
575 msat.millisatoshis /= div;
576 return msat;
577}
578
579struct amount_msat amount_msat_div_ceil(struct amount_msat msat, u64 div)
580{

Callers 11

runFunction · 0.85
test_case_amount_divFunction · 0.85
channel_hint_updateFunction · 0.85
shadow_route_cbFunction · 0.85
chan_extra_cannot_sendFunction · 0.85
json_renepayFunction · 0.85
xpay_coreFunction · 0.85
least_costFunction · 0.85
measure_least_costFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_case_amount_divFunction · 0.68