Fix type spec

This commit is contained in:
Thomas Arts 2019-06-19 12:38:55 +02:00
parent ff11943576
commit d571993405
3 changed files with 3 additions and 4 deletions

View File

@ -2,7 +2,7 @@
{erl_opts, [debug_info]}.
{deps, [ {aebytecode, {git, "https://github.com/aeternity/aebytecode.git", {ref,"9dfc5f4"}}}
{deps, [ {aebytecode, {git, "https://github.com/aeternity/aebytecode.git", {ref,"f91c8fa"}}}
, {getopt, "1.0.1"}
, {jsx, {git, "https://github.com/talentdeficit/jsx.git",
{tag, "2.8.0"}}}

View File

@ -1,7 +1,7 @@
{"1.1.0",
[{<<"aebytecode">>,
{git,"https://github.com/aeternity/aebytecode.git",
{ref,"9dfc5f4f1d1a9676cb6b9577af74a4566cc3f3f4"}},
{ref,"f91c8fabdd01cf911fb194862a50f9635c96c0e5"}},
0},
{<<"aeserialization">>,
{git,"https://github.com/aeternity/aeserialization.git",

View File

@ -329,8 +329,7 @@ create_calldata(Code, Fun, Args) ->
create_calldata(Code, Fun, Args, [{backend, aevm}]).
-spec create_calldata(string(), string(), [string()], [{atom(), any()}]) ->
{ok, binary(), aeb_aevm_data:type(), aeb_aevm_data:type()}
| {ok, binary()}
{ok, binary()}
| {error, term()}.
create_calldata(Code, Fun, Args, Options) ->
case proplists:get_value(backend, Options, aevm) of