[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] 02/05: fix reserve creation
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] 02/05: fix reserve creation |
Date: |
Fri, 13 Jan 2017 14:59:49 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository bank.
commit 95e806c8e7ab1c8fdbc0e8e1a580c7a9be734050
Author: Florian Dold <address@hidden>
AuthorDate: Tue Jan 10 17:37:04 2017 +0100
fix reserve creation
---
talerbank/app/static/web-common | 2 +-
talerbank/app/views.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/talerbank/app/static/web-common b/talerbank/app/static/web-common
index b3d6222..bf0e04e 160000
--- a/talerbank/app/static/web-common
+++ b/talerbank/app/static/web-common
@@ -1 +1 @@
-Subproject commit b3d6222e1b33553c4ccf576ae3ac2f4823f3dc20
+Subproject commit bf0e04ec0d8d87c1c9c888219c3722d07a1bb9bb
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 9a0e06d..66b5587 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -347,7 +347,7 @@ def create_reserve_at_exchange(request, amount,
exchange_url, exchange_account_n
response_status=res.status_code,
))
user_account = BankAccount.objects.get(user=request.user)
- exchange_account = BankAccount.objects.get(user=exchange_account_no)
+ exchange_account = BankAccount.objects.get(account_no=exchange_account_no)
wire_transfer(amount, user_account, exchange_account_no, reserve_pub)
request.session["just_withdrawn"] = True
return redirect("profile")
--
To stop receiving notification emails like this one, please contact
address@hidden