compiler: use Options in ConvertToManifest()

This commit is contained in:
Evgenii Stratonikov 2020-12-10 17:42:12 +03:00
parent 03d32ecd61
commit 9fd8577dd9
5 changed files with 13 additions and 13 deletions

View file

@ -219,7 +219,7 @@ func CompileAndSave(src string, o *Options) ([]byte, error) {
}
if o.ManifestFile != "" {
m, err := di.ConvertToManifest(o.Name, o.ContractEvents, o.ContractSupportedStandards...)
m, err := di.ConvertToManifest(o)
if err != nil {
return b, fmt.Errorf("failed to convert debug info to manifest: %w", err)
}