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

Function test_error

wallet/test/run-wallet.c:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13static char *wallet_err;
14
15static void test_error(struct lightningd *ld, bool fatal, const char *fmt, va_list ap)
16{
17 /* Fail hard if we're complaining about not being in transaction */
18 assert(!strstarts(fmt, "No longer in transaction"));
19
20 wallet_err = tal_vfmt(NULL, fmt, ap);
21}
22
23#include "common/scb_wiregen.c"
24#include "wallet/wallet.c"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected