smartcontract: apply gofmt to the resulting bindings

Close #3133.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
Anna Shaleva 2023-10-18 17:58:39 +03:00
parent d24579748e
commit c42486587d
16 changed files with 769 additions and 742 deletions

View file

@ -464,7 +464,7 @@ func Generate(cfg binding.Config) error {
"upperFirst": upperFirst,
}).Parse(srcTmpl))
return srcTemplate.Execute(cfg.Output, ctr)
return binding.FExecute(srcTemplate, cfg.Output, ctr)
}
func dropManifestMethods(meths []manifest.Method, manifested []manifest.Method) []manifest.Method {