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
|
SourceHash = case CodeMap of
|
||||||
#{ source_hash := SHash } -> SHash;
|
#{ source_hash := SHash } -> SHash;
|
||||||
#{ contract_source := SrcStr } ->
|
#{ contract_source := SrcStr } ->
|
||||||
SHash = enacl:generichash(32, list_to_binary(SrcStr)),
|
enacl:generichash(32, list_to_binary(SrcStr))
|
||||||
SHash
|
|
||||||
end,
|
end,
|
||||||
|
|
||||||
%% Compiler version
|
%% Compiler version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user