Address review comment

This commit is contained in:
Hans Svensson
2019-04-23 10:47:59 +02:00
parent 4324bfd49e
commit 5e6af18c7b
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -726,8 +726,7 @@ ttl_t(Icode) ->
ast_typerep({qid, [], ["Chain", "ttl"]}, Icode).
sign_t() -> bytes_t(64).
bytes_t(Len) when Len =< 32 -> word;
bytes_t(Len) -> {tuple, lists:duplicate((31 + Len) div 32, word)}.
bytes_t(Len) -> {bytes, Len}.
get_signature_arg(Args0) ->
NamedArgs = [Arg || Arg = {named_arg, _, _, _} <- Args0],