From 797c311466690f3a62a0857e1a2016c9ce3bee64 Mon Sep 17 00:00:00 2001 From: vub Date: Wed, 26 Apr 2017 05:20:29 -0400 Subject: [PATCH] Small bugfix --- eip96/eip_96_blockhash_getter.se.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eip96/eip_96_blockhash_getter.se.py b/eip96/eip_96_blockhash_getter.se.py index cd822d4..0376e1a 100644 --- a/eip96/eip_96_blockhash_getter.se.py +++ b/eip96/eip_96_blockhash_getter.se.py @@ -22,4 +22,4 @@ else: elif (not (~calldataload(0) % 65536) and block.number - ~calldataload(0) <= 16777216): return(~sload(512 + (~calldataload(0) / 65536) % 256)) else: - return(~calldataload(0) % 256 == 0) + return(0)