gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: fix amount denormalization issue


From: gnunet
Subject: [taler-exchange] branch master updated: fix amount denormalization issue
Date: Mon, 10 Jan 2022 09:04:12 +0100

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 aaaaa9a1 fix amount denormalization issue
aaaaa9a1 is described below

commit aaaaa9a103628d7694a4fb3bac6335501187cc00
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Jan 10 09:03:57 2022 +0100

    fix amount denormalization issue
---
 src/exchangedb/exchange-0001.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/exchangedb/exchange-0001.sql b/src/exchangedb/exchange-0001.sql
index 33b300bc..c1665b3b 100644
--- a/src/exchangedb/exchange-0001.sql
+++ b/src/exchangedb/exchange-0001.sql
@@ -918,7 +918,7 @@ END IF;
 -- Check reserve balance is sufficient.
 IF (reserve_val > amount_val)
 THEN
-  IF (reserve_frac > amount_frac)
+  IF (reserve_frac >= amount_frac)
   THEN
     reserve_val=reserve_val - amount_val;
     reserve_frac=reserve_frac - amount_frac;

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