From cf91a27fb2ca25b68188ce04c443483f6a222325 Mon Sep 17 00:00:00 2001 From: Thomas Arts Date: Wed, 28 Aug 2019 10:59:47 +0200 Subject: [PATCH] Keep sign last --- src/aeso_ast_to_icode.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aeso_ast_to_icode.erl b/src/aeso_ast_to_icode.erl index 586952f..d1d5a36 100644 --- a/src/aeso_ast_to_icode.erl +++ b/src/aeso_ast_to_icode.erl @@ -272,7 +272,7 @@ ast_body(?qid_app(["AENS", "preclaim"], Args, _, _), Icode) -> ast_body(?qid_app(["AENS", "claim"], Args, _, _), Icode) -> {Sign, [Addr, Name, Salt, NameFee]} = get_signature_arg(Args), prim_call(?PRIM_CALL_AENS_CLAIM, #integer{value = 0}, - [ast_body(Addr, Icode), ast_body(Name, Icode), ast_body(Salt, Icode), ast_body(Sign, Icode), ast_body(NameFee, Icode)], + [ast_body(Addr, Icode), ast_body(Name, Icode), ast_body(Salt, Icode), ast_body(NameFee, Icode), ast_body(Sign, Icode)], [word, string, word, sign_t(), word], {tuple, []}); ast_body(?qid_app(["AENS", "transfer"], Args, _, _), Icode) ->