[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: simplify expression
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: simplify expression |
Date: |
Mon, 07 Sep 2020 12:21:59 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 023f10a simplify expression
023f10a is described below
commit 023f10a37a7725f03a498b53a605e1fdf9e1906f
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Mon Sep 7 15:51:55 2020 +0530
simplify expression
---
src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
index 38682a2..9c75e48 100644
--- a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
+++ b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
@@ -373,9 +373,8 @@ get_pay_timeout (unsigned int num_coins)
sec5 = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS,
5);
- t = GNUNET_TIME_relative_add (sec5,
- GNUNET_TIME_relative_multiply (sec5,
- num_coins /
20));
+ t = GNUNET_TIME_relative_multiply (sec5,
+ 1 + (num_coins / 20));
return t;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: simplify expression,
gnunet <=