compiler: add Hash to debug info

part of #1088
This commit is contained in:
Anna Shaleva 2020-06-24 07:22:33 +03:00
parent 9d675f6e56
commit 4d07d72677
4 changed files with 17 additions and 8 deletions

View file

@ -118,7 +118,7 @@ func CompileAndSave(src string, o *Options) ([]byte, error) {
if o.ABIInfo == "" {
return b, err
}
abi := di.convertToABI(b, o.ContractFeatures)
abi := di.convertToABI(o.ContractFeatures)
abiData, err := json.Marshal(abi)
if err != nil {
return b, err