diff options
Diffstat (limited to 'src/backenddb/plugin_merchantdb_postgres.c')
-rw-r--r-- | src/backenddb/plugin_merchantdb_postgres.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c index 06c2a170..3c3eb7a6 100644 --- a/src/backenddb/plugin_merchantdb_postgres.c +++ b/src/backenddb/plugin_merchantdb_postgres.c @@ -3133,7 +3133,6 @@ postgres_lookup_refunds_detailed ( * * @param cls closure * @param refund_serial serial number of the refund - * @param refund_fee refund fee the exchange said it charged * @param exchange_sig signature from exchange that coin was refunded * @param exchange_pub signing key that was used for @a exchange_sig * @return transaction status @@ -3142,7 +3141,6 @@ static enum GNUNET_DB_QueryStatus postgres_insert_refund_proof ( void *cls, uint64_t refund_serial, - const struct TALER_Amount *refund_fee, const struct TALER_ExchangeSignatureP *exchange_sig, const struct TALER_ExchangePublicKeyP *exchange_pub) { @@ -3150,7 +3148,6 @@ postgres_insert_refund_proof ( struct GNUNET_PQ_QueryParam params[] = { GNUNET_PQ_query_param_uint64 (&refund_serial), GNUNET_PQ_query_param_auto_from_type (exchange_sig), - TALER_PQ_query_param_amount (refund_fee), GNUNET_PQ_query_param_auto_from_type (exchange_pub), GNUNET_PQ_query_param_end }; @@ -7472,12 +7469,10 @@ libtaler_plugin_merchantdb_postgres_init (void *cls) "INSERT INTO merchant_refund_proofs" "(refund_serial" ",exchange_sig" - ",refund_fee_val" - ",refund_fee_frac" ",signkey_serial)" - "SELECT $1, $2, $3, $4, signkey_serial" + "SELECT $1, $2, signkey_serial" " FROM merchant_exchange_signing_keys" - " WHERE exchange_pub=$5" + " WHERE exchange_pub=$3" " ORDER BY start_date DESC" " LIMIT 1", 5), |