Small tidy up

This commit is contained in:
Sean Hinde 2021-11-02 09:36:45 +01:00
parent 9b36c771c7
commit 27bb4331aa

View File

@ -23,8 +23,7 @@ serialize(CodeMap = #{ byte_code := ByteCode
SourceHash = case CodeMap of
#{ source_hash := SHash } -> SHash;
#{ contract_source := SrcStr } ->
SHash = enacl:generichash(32, list_to_binary(SrcStr)),
SHash
enacl:generichash(32, list_to_binary(SrcStr))
end,
%% Compiler version