summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-02-07 16:20:36 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-02-07 16:20:36 +0100
commitc319f1407fef175f8e11ea83540da5ff95b93db3 (patch)
tree5aad5a8b4d3f9941ce82e2ce184f43b99df8e477
parentf8d11fc10f41a5c4d8e7e82c24203e136ff6489c (diff)
downloadexchange-c319f1407fef175f8e11ea83540da5ff95b93db3.tar.gz
exchange-c319f1407fef175f8e11ea83540da5ff95b93db3.tar.bz2
exchange-c319f1407fef175f8e11ea83540da5ff95b93db3.zip
fix SQL
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c4
1 files 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(). */