From 30e3acfe9413510c246ac8591b7454e13b882b0a Mon Sep 17 00:00:00 2001 From: Tobias Lindahl Date: Wed, 22 May 2019 10:44:11 +0200 Subject: [PATCH] Fix BLOCKHASH function for fate --- src/aeso_fcode_to_fate.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aeso_fcode_to_fate.erl b/src/aeso_fcode_to_fate.erl index aa1f073..02ff9ee 100644 --- a/src/aeso_fcode_to_fate.erl +++ b/src/aeso_fcode_to_fate.erl @@ -723,7 +723,7 @@ attributes(I) -> {'ORIGIN', A} -> Pure(A, []); {'CALLER', A} -> Pure(A, []); {'GASPRICE', A} -> Pure(A, []); - {'BLOCKHASH', A} -> Pure(A, []); + {'BLOCKHASH', A, B} -> Impure(A, [B]); {'BENEFICIARY', A} -> Pure(A, []); {'TIMESTAMP', A} -> Pure(A, []); {'GENERATION', A} -> Pure(A, []);