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

Function bolt12_chain_matches

common/bolt12.c:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45bool bolt12_chain_matches(const struct bitcoin_blkid *chain,
46 const struct chainparams *must_be_chain)
47{
48 return bolt12_chains_match(chain, 1, must_be_chain);
49}
50
51static char *check_features_and_chain(const tal_t *ctx,
52 const struct feature_set *our_features,

Callers 2

handle_invoice_requestFunction · 0.85
handle_invoiceFunction · 0.85

Calls 1

bolt12_chains_matchFunction · 0.85

Tested by

no test coverage detected