aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/exchange/taler-exchange-httpd_batch-withdraw.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_batch-withdraw.c b/src/exchange/taler-exchange-httpd_batch-withdraw.c
index 857856a7d..3e4a92776 100644
--- a/src/exchange/taler-exchange-httpd_batch-withdraw.c
+++ b/src/exchange/taler-exchange-httpd_batch-withdraw.c
@@ -695,8 +695,6 @@ run_legi_check (struct BatchWithdrawContext *bwc)
"reserves_get_origin"));
return;
}
- TALER_full_payto_normalize_and_hash (payto_uri,
- &bwc->h_normalized_payto);
/* If _no_ results, reserve was created by merge,
in which case no KYC check is required as the
merge already did that. */
@@ -706,6 +704,9 @@ run_legi_check (struct BatchWithdrawContext *bwc)
return;
}
+ TALER_full_payto_normalize_and_hash (payto_uri,
+ &bwc->h_normalized_payto);
+
bwc->lch = TEH_legitimization_check (
&bwc->rc->async_scope_id,
TALER_KYCLOGIC_KYC_TRIGGER_WITHDRAW,