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

Function forward_style_name

wallet/wallet.h:190–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190static inline const char *forward_style_name(enum forward_style style)
191{
192 switch (style) {
193 case FORWARD_STYLE_UNKNOWN:
194 return "UNKNOWN";
195 case FORWARD_STYLE_TLV:
196 return "tlv";
197 case FORWARD_STYLE_LEGACY:
198 return "legacy";
199 }
200 abort();
201}
202
203/* DB wrapper to check htlc_state */
204static inline enum htlc_state htlc_state_in_db(enum htlc_state s)

Callers 1

Calls 1

abortFunction · 0.85

Tested by

no test coverage detected