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

Function decode_fail

common/bolt11.c:113–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 PRINTF_FMT(3,4);
112
113static struct bolt11 *decode_fail(struct bolt11 *b11, char **fail,
114 const char *fmt, ...)
115{
116 va_list ap;
117
118 va_start(ap, fmt);
119 *fail = tal_vfmt(tal_parent(b11), fmt, ap);
120 va_end(ap);
121 return tal_free(b11);
122}
123
124/*
125 * 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