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

Function complain_unfixed

wallet/db.c:856–872  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

854}
855
856static void complain_unfixed(struct lightningd *ld,
857 enum channel_state state,
858 u64 id,
859 const u8 *bytes,
860 const char *why)
861{
862 /* This is OK on closed channels */
863 if (state != CLOSED) {
864 log_broken(ld->log,
865 "%s channel id %"PRIu64" PSBT hex '%s'",
866 why, id, tal_hex(tmpctx, bytes));
867 } else {
868 log_debug(ld->log,
869 "%s on closed channel id %"PRIu64" PSBT hex '%s'",
870 why, id, tal_hex(tmpctx, bytes));
871 }
872}
873
874void migrate_invalid_last_tx_psbts(struct lightningd *ld, struct db *db)
875{

Callers 1

Calls 1

tal_hexFunction · 0.85

Tested by

no test coverage detected