Small tidy up
This commit is contained in:
parent
9b36c771c7
commit
27bb4331aa
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user