Fix incorrect type specs

h/t OTP-21 dialyzer
This commit is contained in:
Ulf Norell
2019-01-28 14:54:34 +01:00
parent 9026e1fe6b
commit 3a7c8f905a
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ check_call(ContractString, Options) ->
end.
-spec create_calldata(map(), string(), string()) ->
{ok, aeso_sophia:heap(), aeso_sophia:type(), aeso_sophia:type()}
{ok, binary(), aeso_sophia:type(), aeso_sophia:type()}
| {error, argument_syntax_error}.
create_calldata(Contract, "", CallCode) when is_map(Contract) ->
case check_call(CallCode, []) of