Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
y0sher committed Oct 22, 2024
1 parent ce72415 commit 9d2f3ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/cmd/wallet/cmd/account/handler/handler_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,13 @@ func ValidateHighestValues(accountFlagValues CreateAccountFlagValues) error {
privateKeysCount := len(accountFlagValues.privateKeys)

if len(accountFlagValues.highestSources) != privateKeysCount {
return errors.Errorf("highest sources: %v", errorExplain)
return errors.Errorf("highest sources %v", errorExplain)
}
if len(accountFlagValues.highestTargets) != privateKeysCount {
return errors.Errorf("highest targets: %v", errorExplain)
return errors.Errorf("highest targets %v", errorExplain)
}
if len(accountFlagValues.highestProposals) != privateKeysCount {
return errors.Errorf("highest proposals: %v", errorExplain)
return errors.Errorf("highest proposals %v", errorExplain)
}
} else if accountFlagValues.accumulate {
if len(accountFlagValues.highestSources) != (accountFlagValues.index + 1) {
Expand Down

0 comments on commit 9d2f3ea

Please sign in to comment.