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

Function htlc_set_eq

lightningd/htlc_set.h:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46static inline bool htlc_set_eq(const struct htlc_set *set,
47 const struct sha256 *payment_hash)
48{
49 return sha256_eq(payment_hash, &set->payment_hash);
50}
51
52HTABLE_DEFINE_NODUPS_TYPE(struct htlc_set,
53 keyof_htlc_set,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected