From 70e0e465f23b304e0244ce4c775595db4c327eeb Mon Sep 17 00:00:00 2001 From: Tobias Lindahl Date: Tue, 18 Jun 2019 14:24:08 +0200 Subject: [PATCH] Address review comment --- src/aeso_fcode_to_fate.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aeso_fcode_to_fate.erl b/src/aeso_fcode_to_fate.erl index eab3b15..7f994eb 100644 --- a/src/aeso_fcode_to_fate.erl +++ b/src/aeso_fcode_to_fate.erl @@ -242,8 +242,8 @@ lit_to_fate(L) -> {account_pubkey, K} -> aeb_fate_data:make_address(K); {contract_pubkey, K} -> aeb_fate_data:make_contract(K); {oracle_pubkey, K} -> aeb_fate_data:make_oracle(K); - {typerep, T} -> aeb_fate_data:make_typerep(type_to_scode(T)); - {oracle_query_id, H} -> aeb_fate_data:make_oracle_query(H) + {oracle_query_id, H} -> aeb_fate_data:make_oracle_query(H); + {typerep, T} -> aeb_fate_data:make_typerep(type_to_scode(T)) end. term_to_fate({lit, L}) ->