| 6622 | } |
| 6623 | |
| 6624 | static struct timeabs db_col_time_from_nsec(struct db_stmt *stmt, const char *colname) |
| 6625 | { |
| 6626 | struct timerel t; |
| 6627 | struct timeabs tabs; |
| 6628 | |
| 6629 | if (db_col_is_null(stmt, colname)) |
| 6630 | t = time_from_nsec(0); |
| 6631 | else |
| 6632 | t = time_from_nsec(db_col_u64(stmt, colname)); |
| 6633 | tabs.ts = t.ts; |
| 6634 | return tabs; |
| 6635 | } |
| 6636 | |
| 6637 | const char *wallet_get_rune(const tal_t *ctx, struct wallet *wallet, u64 unique_id, struct timeabs *last_used) |
| 6638 | { |
no test coverage detected