[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] 02/02: remove comment
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] 02/02: remove comment |
Date: |
Fri, 08 Dec 2017 17:48:03 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository bank.
commit 921e2d30c9936f3101130d70fbb7728ee39bb8bb
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Dec 8 17:47:35 2017 +0100
remove comment
---
talerbank/app/views.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 14c3e6e..b222aa6 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -458,9 +458,6 @@ def reject(request, user_account):
except BankTransaction.DoesNotExist:
return JsonResponse({"error": "unknown transaction"}, status=404)
- # WARNING: here the bank must make sure 'row_id' points to
- # a transaction where the requesting user owns the credit account.
- # Not even a bug number exists on this.
if trans.credit_account.account_no != user_account.bankaccount.account_no:
LOGGER.error("you can only reject a transaction where you _got_ money")
return JsonResponse({"error": "you can only reject a transaction where
you _got_ money"},
--
To stop receiving notification emails like this one, please contact
address@hidden