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

Function unresolved_wallet_inputs

plugins/spender/splice.c:857–862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

855}
856
857static bool unresolved_wallet_inputs(struct splice_cmd *splice_cmd)
858{
859 struct amount_sat wallet_funding = wallet_funding_amnt(splice_cmd);
860
861 return amount_sat_less(wallet_funding, splice_cmd->needed_funds);
862}
863
864static size_t calc_weight(struct splice_cmd *splice_cmd,
865 bool simulate_wallet_outputs)

Callers 2

calc_weightFunction · 0.85
handle_fee_and_ppmFunction · 0.85

Calls 2

wallet_funding_amntFunction · 0.85
amount_sat_lessFunction · 0.85

Tested by

no test coverage detected