merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 9e8f9c9d4b8febe029594ab19ac2d239154fd342
parent 5bc8e40c420f8f914ae1562c4c2e50840fa690a3
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Wed,  8 Feb 2017 11:46:39 +0100

Fix backenddb

Diffstat:
Msrc/backenddb/plugin_merchantdb_postgres.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c @@ -294,7 +294,7 @@ postgres_initialize (void *cls) PG_PREPARE (pg, "find_transactions_by_date", "SELECT" - " transaction_id" + " h_proposal_data" ",merchant_pub" ",exchange_uri" ",h_wire" @@ -319,7 +319,7 @@ postgres_initialize (void *cls) ",total_amount_frac" ",total_amount_curr" " FROM merchant_transactions" - " WHERE transaction_id=$1" + " WHERE h_proposal_data=$1" " AND merchant_pub=$2", 2); PG_PREPARE (pg, @@ -348,7 +348,7 @@ postgres_initialize (void *cls) ",deposit_fee_curr" ",exchange_proof" " FROM merchant_deposits" - " WHERE transaction_id=$1" + " WHERE h_proposal_data=$1" " AND merchant_pub=$2" " AND coin_pub=$3", 3);