| 429 | } |
| 430 | |
| 431 | struct 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 | |
| 439 | void *db_col_arr_(const tal_t *ctx, struct db_stmt *stmt, const char *colname, |
| 440 | size_t bytes, const char *label, const char *caller) |
no test coverage detected