| 166 | } |
| 167 | |
| 168 | void db_bind_short_channel_id_arr(struct db_stmt *stmt, int col, |
| 169 | const struct short_channel_id *id) |
| 170 | { |
| 171 | u8 *ser = tal_arr(stmt, u8, 0); |
| 172 | size_t num = tal_count(id); |
| 173 | |
| 174 | for (size_t i = 0; i < num; ++i) |
| 175 | towire_short_channel_id(&ser, &id[i]); |
| 176 | |
| 177 | db_bind_talarr(stmt, col, ser); |
| 178 | } |
| 179 | |
| 180 | void db_bind_signature(struct db_stmt *stmt, int col, |
| 181 | const secp256k1_ecdsa_signature *sig) |
no test coverage detected