Make init do the state updates in FATE (instead of a new INIT function)

This commit is contained in:
Ulf Norell
2019-09-03 09:01:11 +02:00
parent a50730155f
commit 58ab771dff
2 changed files with 4 additions and 7 deletions
-1
View File
@@ -143,7 +143,6 @@ compile(FCode, Options) ->
make_function_id(X) ->
aeb_fate_code:symbol_identifier(make_function_name(X)).
make_function_name(init) -> <<"INIT">>;
make_function_name(event) -> <<"Chain.event">>;
make_function_name({entrypoint, Name}) -> Name;
make_function_name({local_fun, Xs}) -> list_to_binary("." ++ string:join(Xs, ".")).