[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] branch master updated: extract reserve pub, so that other t
From: |
gnunet |
Subject: |
[taler-bank] branch master updated: extract reserve pub, so that other transactions to the exchange don't break it |
Date: |
Wed, 05 Aug 2020 16:13:24 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new 76f7430 extract reserve pub, so that other transactions to the
exchange don't break it
76f7430 is described below
commit 76f7430dd17201095372c576b1002683879a3b4d
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Wed Aug 5 19:43:11 2020 +0530
extract reserve pub, so that other transactions to the exchange don't break
it
---
talerbank/app/views.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index b450fc7..b55e487 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -899,12 +899,15 @@ def twg_history_incoming(request, user_account, acct_id):
start = int(start_str)
qs = query_history(user_account.bankaccount, "credit", delta, start,)
for item in qs:
+ rp = get_reserve_pub(item.subject)
+ if rp is None:
+ continue
history.append(
dict(
row_id=item.id,
amount=item.amount.stringify(settings.TALER_DIGITS),
date=dict(t_ms=(int(item.date.timestamp()) * 1000)),
- reserve_pub=item.subject,
+ reserve_pub=rp,
credit_account=get_payto_from_account(request,
item.credit_account),
debit_account=get_payto_from_account(request,
item.debit_account),
)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-bank] branch master updated: extract reserve pub, so that other transactions to the exchange don't break it,
gnunet <=