|
|
|
|
@ -283,7 +283,7 @@ int topo_node_sqlite_member_block_put(sqlite3* db, const char* channel_id, uint6
|
|
|
|
|
const char* userinfo, const uint8_t* creator_sig) { |
|
|
|
|
if (!db || !channel_id || !x25519_pubkey || !ed25519_pubkey) return -1; |
|
|
|
|
char peers_tbl[80]; peers_table_name(channel_id, peers_tbl, sizeof(peers_tbl)); |
|
|
|
|
char sql[512]; |
|
|
|
|
char sql[640]; |
|
|
|
|
snprintf(sql, sizeof(sql), |
|
|
|
|
"INSERT INTO \"%s\"(node_id, x25519_pubkey, ed25519_pubkey," |
|
|
|
|
" join_sig, join_ts, update_sig, update_ts, userinfo, creator_sig)" |
|
|
|
|
|