summaryrefslogtreecommitdiff
path: root/src/authorization
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-26 22:23:32 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-26 22:23:32 +0200
commite2f67e7bf9c3779720b9a61012a4d0c0c4b6e1d1 (patch)
tree0e54457021a0667691d0259034571a45fdf1e593 /src/authorization
parentdcbd1a01050142f2a0a6357a51e80184850ca52e (diff)
downloadanastasis-e2f67e7bf9c3779720b9a61012a4d0c0c4b6e1d1.tar.gz
anastasis-e2f67e7bf9c3779720b9a61012a4d0c0c4b6e1d1.tar.bz2
anastasis-e2f67e7bf9c3779720b9a61012a4d0c0c4b6e1d1.zip
use camount
Diffstat (limited to 'src/authorization')
-rw-r--r--src/authorization/anastasis_authorization_plugin_iban.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/authorization/anastasis_authorization_plugin_iban.c b/src/authorization/anastasis_authorization_plugin_iban.c
index 50fff8d..e70bfdd 100644
--- a/src/authorization/anastasis_authorization_plugin_iban.c
+++ b/src/authorization/anastasis_authorization_plugin_iban.c
@@ -425,11 +425,11 @@ check_payment_ok (void *cls,
ctx->expected_amount.currency);
if (1 ==
TALER_amount_cmp (&ctx->expected_amount,
- amount))
+ &camount))
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"Amount `%s' insufficient for authorization\n",
- TALER_amount2s (amount));
+ TALER_amount2s (&camount));
return false;
}
return (code == as->code);