commit c319f1407fef175f8e11ea83540da5ff95b93db3
parent f8d11fc10f41a5c4d8e7e82c24203e136ff6489c
Author: Florian Dold <florian.dold@gmail.com>
Date: Tue, 7 Feb 2017 16:20:36 +0100
fix SQL
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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(). */