diff --git a/app/views.py b/app/views.py
index b5dec83d8ac4f57b924ca01e827b8a0104f56d94..41ef165c5da3cc5ab86ab611c7a8f65cb70018ad 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))