gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: round timestamp for exchnge


From: gnunet
Subject: [libeufin] branch master updated: round timestamp for exchnge
Date: Mon, 22 Jun 2020 16:00:04 +0200

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

dold pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new e938e4e  round timestamp for exchnge
e938e4e is described below

commit e938e4e6d03b2478ffc218eb13737cf29838b454
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Mon Jun 22 19:29:57 2020 +0530

    round timestamp for exchnge
---
 nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
index 97e48af..6cb3adf 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
@@ -513,7 +513,8 @@ private suspend fun historyIncoming(call: ApplicationCall): 
Unit {
             orderedPayments.subList(0, min(abs(delta), 
orderedPayments.size)).forEach {
                 history.incoming_transactions.add(
                     TalerIncomingBankTransaction(
-                        date = GnunetTimestamp(it.timestampMs),
+                        // Rounded timestamp
+                        date = GnunetTimestamp((it.timestampMs / 1000) * 1000),
                         row_id = it.id.value,
                         amount = "${it.payment.currency}:${it.payment.amount}",
                         reserve_pub = it.reservePublicKey,

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