cli: format error message

This commit is contained in:
Anna Shaleva 2021-04-16 12:15:51 +03:00
parent 4edc62148b
commit 87f950a719

View file

@ -603,7 +603,7 @@ func dumpKeys(ctx *cli.Context) error {
continue continue
} }
if addrFlag.IsSet { if addrFlag.IsSet {
return cli.NewExitError(fmt.Errorf("Unknown script type for address %s", address.Uint160ToString(addrFlag.Uint160())), 1) return cli.NewExitError(fmt.Errorf("unknown script type for address %s", address.Uint160ToString(addrFlag.Uint160())), 1)
} }
} }
return nil return nil