From bc1b9ab429cec043442da56498e4f34edad9820c Mon Sep 17 00:00:00 2001
From: Patricio Kumagae <pkumagae@boletinoficial.gov.ar>
Date: Mon, 25 Feb 2019 10:19:37 -0300
Subject: [PATCH] Tarea #18068

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

diff --git a/app/views.py b/app/views.py
index b5dec83..41ef165 100644
--- a/app/views.py
+++ b/app/views.py
@@ -132,7 +132,7 @@ class Verify(APIView):
 
                 method_name, args = Utils.decode_contract_call(CONTRACTS['01']['abi'], TimestampManager.get_transaction(tx_hash).input)
 
-                if args[0].decode('utf-8') == ots_hash and args[1].decode('utf-8') == file_hash:
+                if args[0].decode('utf-8') == ots_hash and args[1].decode('utf-8') == original_file_hash:
 
                     block = TimestampManager.get_block(int(block_number))
 
-- 
GitLab