From c319f1407fef175f8e11ea83540da5ff95b93db3 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 7 Feb 2017 16:20:36 +0100 Subject: fix SQL --- src/exchangedb/plugin_exchangedb_postgres.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 892c7ab9d..4e4acb711 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -966,8 +966,8 @@ postgres_prepare (PGconn *db_conn) ",amount_with_fee_frac " ",amount_with_fee_curr " ") VALUES " - "($1, $2, $3, $4, $5, $6, $7, $8, $9);", - 9, NULL); + "($1, $2, $3, $4, $5, $6, $7, $8);", + 8, NULL); /* Fetch an existing deposit request, used to ensure idempotency during /deposit processing. Used in #postgres_have_deposit(). */ -- cgit v1.2.3