| 503 | } |
| 504 | |
| 505 | struct 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 | |
| 513 | struct channel_type *db_col_channel_type(const tal_t *ctx, struct db_stmt *stmt, |
| 514 | const char *colname) |
no test coverage detected