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

Function db_col_psbt_to_tx

db/bindings.c:431–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429}
430
431struct bitcoin_tx *db_col_psbt_to_tx(const tal_t *ctx, struct db_stmt *stmt, const char *colname)
432{
433 struct wally_psbt *psbt = db_col_psbt(ctx, stmt, colname);
434 if (!psbt)
435 return NULL;
436 return bitcoin_tx_with_psbt(ctx, psbt);
437}
438
439void *db_col_arr_(const tal_t *ctx, struct db_stmt *stmt, const char *colname,
440 size_t bytes, const char *label, const char *caller)

Callers 2

wallet_stmt2inflightFunction · 0.85
wallet_stmt2channelFunction · 0.85

Calls 2

db_col_psbtFunction · 0.85
bitcoin_tx_with_psbtFunction · 0.85

Tested by

no test coverage detected