chore: lint v2 (#24118)
This commit is contained in:
@@ -99,7 +99,7 @@ func doParseKey(cmd *cobra.Command, config *sdk.Config, args []string) error {
|
||||
}
|
||||
|
||||
output, _ := cmd.Flags().GetString(flags.FlagOutput)
|
||||
if !(runFromBech32(outstream, addr, output) || runFromHex(config, outstream, addr, output)) {
|
||||
if !runFromBech32(outstream, addr, output) && !runFromHex(config, outstream, addr, output) {
|
||||
return errors.New("couldn't find valid bech32 nor hex data")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user