gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-bank] branch master updated: hash answer


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch master updated: hash answer
Date: Fri, 08 Dec 2017 22:44:57 +0100

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 3a7e81c  hash answer
3a7e81c is described below

commit 3a7e81c5a075a2b77c535949c57bd845a629edc5
Author: Florian Dold <address@hidden>
AuthorDate: Fri Dec 8 22:44:54 2017 +0100

    hash answer
---
 talerbank/app/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 0fd126a..7c9ee9e 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -176,7 +176,7 @@ def make_question():
     else:
         answer = str(num1 + num2)
     question = "{} {} {}".format(num1, op, num2)
-    return question, hashed_answer
+    return question, hash_answer(answer)
 
 
 @require_GET

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]