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

Function db_col_psbt_to_tx

db/bindings.c:505–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503}
504
505struct bitcoin_tx *db_col_psbt_to_tx(const tal_t *ctx, struct db_stmt *stmt, const char *colname)
506{
507 struct wally_psbt *psbt = db_col_psbt(ctx, stmt, colname);
508 if (!psbt)
509 return NULL;
510 return bitcoin_tx_with_psbt(ctx, take(psbt));
511}
512
513struct channel_type *db_col_channel_type(const tal_t *ctx, struct db_stmt *stmt,
514 const char *colname)

Callers 3

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