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

Function attempt_deliver

plugins/xpay/xpay.c:390–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390static struct amount_msat attempt_deliver(const struct attempt *attempt)
391{
392 const size_t len = tal_count(attempt->hops);
393 if (len == 0)
394 return attempt->amount;
395 return attempt->hops[len - 1].amount_out;
396}
397
398static struct amount_msat attempt_mpp_amount(const struct attempt *attempt)
399{

Callers 7

attempt_mpp_amountFunction · 0.85
total_deliveredFunction · 0.85
total_being_deliveredFunction · 0.85
append_blinded_payloadsFunction · 0.85
create_onionFunction · 0.85
do_injectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected