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

Function decode_fail

common/bolt11.c:118–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 PRINTF_FMT(3,4);
117
118static struct bolt11 *decode_fail(struct bolt11 *b11, const char **fail,
119 const char *fmt, ...)
120{
121 va_list ap;
122
123 va_start(ap, fmt);
124 *fail = tal_vfmt(tal_parent(b11), fmt, ap);
125 va_end(ap);
126 return tal_free(b11);
127}
128
129/*
130 * These handle specific fields in the payment request; returning the problem

Callers 2

bolt11_decode_nosigFunction · 0.85
bolt11_decodeFunction · 0.85

Calls 2

tal_parentFunction · 0.85
tal_freeFunction · 0.85

Tested by

no test coverage detected