Pt 166696064 add calldata decode #582

Merged
zxq9 merged 8 commits from PT-166696064-add-calldata-decode into master 2019-06-20 21:26:45 +09:00
Showing only changes of commit 389e931674 - Show all commits

View File

@ -445,7 +445,7 @@ get_decode_type(FunName, [{contract, _, _, Defs}]) ->
[{Args, Ret}] -> {ok, Args, Ret};
[] ->
case FunName of
"init" -> {ok, [], {id,[],"bool"}};
"init" -> {ok, [], {tuple_t, [], []}};
_ -> {error, missing_function}
end
end;