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

Function attempt_mpp_amount

plugins/xpay/xpay.c:398–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398static struct amount_msat attempt_mpp_amount(const struct attempt *attempt)
399{
400 if (!attempt->payment->includefees)
401 return attempt->payment->mpp_amount;
402 assert(attempt->payment->maxparts == 1);
403 return attempt_deliver(attempt);
404}
405
406static u32 initial_cltv_delta(const struct attempt *attempt)
407{

Callers 2

append_blinded_payloadsFunction · 0.85
create_onionFunction · 0.85

Calls 1

attempt_deliverFunction · 0.85

Tested by

no test coverage detected