diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-09-26 15:19:57 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-09-26 15:19:57 +0200 |
commit | daa8104795567076745f8062a0aaffa0d1eceb0f (patch) | |
tree | a32a30a11882ba47ecf50f18c5290b8f88e60075 /src | |
parent | fff82994e2815a8d8dd27ec80ac51b87e5d30fe8 (diff) |
fix #4578
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/taler-merchant-httpd_track-transfer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/taler-merchant-httpd_track-transfer.c b/src/backend/taler-merchant-httpd_track-transfer.c index a77c93ae..6ca3f63d 100644 --- a/src/backend/taler-merchant-httpd_track-transfer.c +++ b/src/backend/taler-merchant-httpd_track-transfer.c @@ -237,8 +237,8 @@ check_transfer (void *cls, * @param exchange_pub public key of the exchange used to sign @a json * @param json original json reply (may include signatures, those have then been * validated already) - * @param wtid extracted wire transfer identifier, or NULL if the exchange could - * not provide any (set only if @a http_status is #MHD_HTTP_OK) + * @param h_wire hash of the wire transfer address the transfer went to, or NULL on error + * @param execution_time time when the exchange claims to have performed the wire transfer * @param total_amount total amount of the wire transfer, or NULL if the exchange could * not provide any @a wtid (set only if @a http_status is #MHD_HTTP_OK) * @param details_length length of the @a details array @@ -250,6 +250,7 @@ wire_transfer_cb (void *cls, const struct TALER_ExchangePublicKeyP *exchange_pub, const json_t *json, const struct GNUNET_HashCode *h_wire, + struct GNUNET_TIME_Absolute execution_time, const struct TALER_Amount *total_amount, unsigned int details_length, const struct TALER_TrackTransferDetails *details) @@ -277,8 +278,7 @@ wire_transfer_cb (void *cls, db->store_transfer_to_proof (db->cls, rctx->uri, &rctx->wtid, - GNUNET_TIME_UNIT_ZERO_ABS - /* FIXME #4578: unknowable with current APIs */, + execution_time, exchange_pub, json)) { |