| 82 | } |
| 83 | |
| 84 | static void sqlite3_column_pubkey(struct sqlite3_stmt *stmt, int pos, struct pubkey *dest) |
| 85 | { |
| 86 | bool ok; |
| 87 | assert(sqlite3_column_bytes(stmt, pos) == PUBKEY_CMPR_LEN); |
| 88 | ok = pubkey_from_der(sqlite3_column_blob(stmt, pos), PUBKEY_CMPR_LEN, dest); |
| 89 | assert(ok); |
| 90 | } |
| 91 | |
| 92 | static void sqlite3_column_short_channel_id(struct sqlite3_stmt *stmt, |
| 93 | int pos, |
no test coverage detected