gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] branch master updated: fix checksum


From: gnunet
Subject: [taler-anastasis] branch master updated: fix checksum
Date: Mon, 21 Dec 2020 13:17:13 +0100

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

grothoff pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new 08737ff  fix checksum
08737ff is described below

commit 08737ffad813a5f98bfe859cd8d116fb376833e1
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Dec 21 13:17:11 2020 +0100

    fix checksum
---
 src/lib/anastasis_api_redux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/anastasis_api_redux.c b/src/lib/anastasis_api_redux.c
index e1e641e..71f81ad 100644
--- a/src/lib/anastasis_api_redux.c
+++ b/src/lib/anastasis_api_redux.c
@@ -561,7 +561,7 @@ validate_ahv (const char *ahv_number,
         calculation += x;
     }
     // round up to the next ten
-    next_ten = (calculation + 10) / 10;
+    next_ten = (calculation + 9) / 10;
     next_ten = next_ten * 10;
     // calculate check number
     calculation = next_ten - calculation;

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