gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] branch master updated: fix #6747


From: gnunet
Subject: [taler-merchant] branch master updated: fix #6747
Date: Sat, 13 Feb 2021 11:41:22 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 9af21a3b fix #6747
9af21a3b is described below

commit 9af21a3b935200dc78a6fb079793e4ebf3572127
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Feb 13 11:41:20 2021 +0100

    fix #6747
---
 src/testing/testing_api_cmd_get_instance.c | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/src/testing/testing_api_cmd_get_instance.c 
b/src/testing/testing_api_cmd_get_instance.c
index 40598a61..7b4ee094 100644
--- a/src/testing/testing_api_cmd_get_instance.c
+++ b/src/testing/testing_api_cmd_get_instance.c
@@ -215,25 +215,29 @@ get_instance_cb (void *cls,
     }
     {
       const struct TALER_Amount *default_max_deposit_fee;
+
       if (GNUNET_OK !=
           TALER_TESTING_get_trait_amount_obj (instance_cmd,
-                                              0,
+                                              1,
                                               &default_max_deposit_fee))
         TALER_TESTING_interpreter_fail (gis->is);
-      if ((GNUNET_OK != TALER_amount_cmp_currency (
-             details->default_max_deposit_fee,
-             default_max_deposit_fee)) ||
-          (0 != TALER_amount_cmp (details->default_max_deposit_fee,
-                                  default_max_deposit_fee)))
+      if ( (GNUNET_OK !=
+            TALER_amount_cmp_currency (
+              details->default_max_deposit_fee,
+              default_max_deposit_fee)) ||
+           (0 != TALER_amount_cmp (details->default_max_deposit_fee,
+                                   default_max_deposit_fee)) )
       {
         GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                    "Instance default max deposit fee does not match\n");
+                    "Instance default max deposit fee %s does not match\n",
+                    TALER_amount2s (details->default_max_deposit_fee));
         TALER_TESTING_interpreter_fail (gis->is);
         return;
       }
     }
     {
       const struct GNUNET_TIME_Relative *default_wire_transfer_delay;
+
       if (GNUNET_OK !=
           TALER_TESTING_get_trait_relative_time (instance_cmd,
                                                  0,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]