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

Function wallet_invoice_resolve

wallet/wallet.c:2918–2923  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2916 return invoices_iterator_deref(ctx, wallet->invoices, it);
2917}
2918bool wallet_invoice_resolve(struct wallet *wallet,
2919 struct invoice invoice,
2920 struct amount_msat msatoshi_received)
2921{
2922 return invoices_resolve(wallet->invoices, invoice, msatoshi_received);
2923}
2924void wallet_invoice_waitany(const tal_t *ctx,
2925 struct wallet *wallet,
2926 u64 lastpay_index,

Callers

nothing calls this directly

Calls 1

invoices_resolveFunction · 0.70

Tested by

no test coverage detected