From 768e0d4fbbc270adeb5dada335b7e24ceb7f0a62 Mon Sep 17 00:00:00 2001 From: Hans Svensson Date: Wed, 19 Jun 2019 13:25:05 +0200 Subject: [PATCH] Fix incorrect type spec --- src/aeb_fate_abi.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aeb_fate_abi.erl b/src/aeb_fate_abi.erl index bd6d305..99f6af8 100644 --- a/src/aeb_fate_abi.erl +++ b/src/aeb_fate_abi.erl @@ -49,7 +49,7 @@ get_function_hash_from_calldata(CallData) -> end. -spec get_function_type_from_function_hash(binary(), aeb_fate_code:fcode()) -> - {ok, term()} | {error, term()}. + {ok, term(), term()} | {error, term()}. get_function_type_from_function_hash(<>, FateCode) -> get_function_type_from_function_hash(SymbolHash, FateCode); get_function_type_from_function_hash(SymbolHash, FateCode) -> -- 2.30.2