From 3d4e580699107fcd8d5df0fa02c097de5d168694 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 28 Feb 2022 22:41:21 +0100 Subject: work on auditor-sync update to latest DB --- src/exchangedb/plugin_exchangedb_postgres.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/exchangedb/plugin_exchangedb_postgres.c') diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index b9e5bc8f..12f18d0b 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" -- cgit v1.2.3