gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: -initialize final_balance even i


From: gnunet
Subject: [taler-exchange] branch master updated: -initialize final_balance even if audit failed hard
Date: Wed, 26 Oct 2022 15:17:49 +0200

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 9978bc9d -initialize final_balance even if audit failed hard
9978bc9d is described below

commit 9978bc9da3fedaa4a4660670f6500b8838bbf4c8
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Wed Oct 26 15:17:46 2022 +0200

    -initialize final_balance even if audit failed hard
---
 src/auditor/taler-helper-auditor-wire.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/auditor/taler-helper-auditor-wire.c 
b/src/auditor/taler-helper-auditor-wire.c
index d8d62fbe..7d5e8a93 100644
--- a/src/auditor/taler-helper-auditor-wire.c
+++ b/src/auditor/taler-helper-auditor-wire.c
@@ -728,6 +728,12 @@ commit (enum GNUNET_DB_QueryStatus qs)
                                                    &total_drained);
     }
   }
+  else
+  {
+    GNUNET_assert (GNUNET_OK ==
+                   TALER_amount_set_zero (TALER_ARL_currency,
+                                          &final_balance));
+  }
   if (0 > qs)
   {
     if (GNUNET_DB_STATUS_SOFT_ERROR == qs)

-- 
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]