diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-04-09 17:45:08 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-04-09 17:45:08 +0200 |
commit | 5b0f4ae9e68c3f5065c2c62bed7c7d3bc0b4423a (patch) | |
tree | dc2301c91223601b5f76b1a8289e137df9f3ccfa /src/backenddb/pg_lookup_deposits_by_order.c | |
parent | 714b0ef777cf0ef736a80f070936716609ccade3 (diff) | |
download | merchant-5b0f4ae9e68c3f5065c2c62bed7c7d3bc0b4423a.tar.gz merchant-5b0f4ae9e68c3f5065c2c62bed7c7d3bc0b4423a.tar.bz2 merchant-5b0f4ae9e68c3f5065c2c62bed7c7d3bc0b4423a.zip |
implement protocol v14 / fix #8717
Diffstat (limited to 'src/backenddb/pg_lookup_deposits_by_order.c')
-rw-r--r-- | src/backenddb/pg_lookup_deposits_by_order.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/backenddb/pg_lookup_deposits_by_order.c b/src/backenddb/pg_lookup_deposits_by_order.c index fdaf1dfc..fb7637f0 100644 --- a/src/backenddb/pg_lookup_deposits_by_order.c +++ b/src/backenddb/pg_lookup_deposits_by_order.c @@ -1,6 +1,6 @@ /* This file is part of TALER - Copyright (C) 2023 Taler Systems SA + Copyright (C) 2023, 2024 Taler Systems SA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -74,6 +74,7 @@ lookup_deposits_by_order_cb (void *cls, char *exchange_url; struct TALER_MerchantWireHashP h_wire; struct TALER_CoinSpendPublicKeyP coin_pub; + struct GNUNET_TIME_Timestamp deposit_timestamp; struct TALER_Amount amount_with_fee; struct TALER_Amount deposit_fee; struct GNUNET_PQ_ResultSpec rs[] = { @@ -81,6 +82,8 @@ lookup_deposits_by_order_cb (void *cls, &deposit_serial), GNUNET_PQ_result_spec_string ("exchange_url", &exchange_url), + GNUNET_PQ_result_spec_timestamp ("deposit_timestamp", + &deposit_timestamp), GNUNET_PQ_result_spec_auto_from_type ("h_wire", &h_wire), TALER_PQ_result_spec_amount_with_currency ("amount_with_fee", @@ -105,6 +108,7 @@ lookup_deposits_by_order_cb (void *cls, deposit_serial, exchange_url, &h_wire, + deposit_timestamp, &amount_with_fee, &deposit_fee, &coin_pub); @@ -139,6 +143,7 @@ TMH_PG_lookup_deposits_by_order (void *cls, " dep.deposit_serial" ",mcon.exchange_url" ",acc.h_wire" + ",mcon.deposit_timestamp" ",dep.amount_with_fee" ",dep.deposit_fee" ",dep.coin_pub" |