commit a56a903da3ec46b4c1d1109cc40c2dc149be956b
parent 61e6f60e55413f89949321a1cd7dca4e1b1b61ea
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 21 Jul 2023 22:48:26 +0200
use decision time
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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)
};