summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-21 22:48:26 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-21 22:48:26 +0200
commita56a903da3ec46b4c1d1109cc40c2dc149be956b (patch)
treeb11cd92f894bb8930469b38453d5b61dd05835d9 /src/util
parent61e6f60e55413f89949321a1cd7dca4e1b1b61ea (diff)
downloadexchange-a56a903da3ec46b4c1d1109cc40c2dc149be956b.tar.gz
exchange-a56a903da3ec46b4c1d1109cc40c2dc149be956b.tar.bz2
exchange-a56a903da3ec46b4c1d1109cc40c2dc149be956b.zip
use decision time
Diffstat (limited to 'src/util')
-rw-r--r--src/util/aml_signatures.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/aml_signatures.c b/src/util/aml_signatures.c
index 6d90b25c2..a61646c0d 100644
--- a/src/util/aml_signatures.c
+++ b/src/util/aml_signatures.c
@@ -85,6 +85,7 @@ TALER_officer_aml_decision_sign (
struct TALER_AmlDecisionPS ad = {
.purpose.purpose = htonl (TALER_SIGNATURE_AML_DECISION),
.purpose.size = htonl (sizeof (ad)),
+ .decision_time = GNUNET_TIME_timestamp_hton (decision_time),
.h_payto = *h_payto,
.new_state = htonl ((uint32_t) new_state)
};
@@ -117,6 +118,7 @@ TALER_officer_aml_decision_verify (
struct TALER_AmlDecisionPS ad = {
.purpose.purpose = htonl (TALER_SIGNATURE_AML_DECISION),
.purpose.size = htonl (sizeof (ad)),
+ .decision_time = GNUNET_TIME_timestamp_hton (decision_time),
.h_payto = *h_payto,
.new_state = htonl ((uint32_t) new_state)
};