diff options
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index b9e5bc8f9..12f18d0be 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -2227,6 +2227,8 @@ prepare_statements (struct PostgresClosure *pg) ",coin_pub" ",denom_sig" ",denominations_serial" + ",remaining_val" + ",remaining_frac" " FROM known_coins" " WHERE known_coin_id > $1" " ORDER BY known_coin_id ASC;", @@ -2522,9 +2524,11 @@ prepare_statements (struct PostgresClosure *pg) ",coin_pub" ",denom_sig" ",denominations_serial" + ",remaining_val" + ",remaining_frac" ") VALUES " - "($1, $2, $3, $4);", - 4), + "($1, $2, $3, $4, $5, $6);", + 6), GNUNET_PQ_make_prepare ( "insert_into_table_refresh_commitments", "INSERT INTO refresh_commitments" |