Skip to content

Commit

Permalink
Merge branch 'fix-add-validator-issues' of https://github.com/ava-lab…
Browse files Browse the repository at this point in the history
…s/avalanche-cli into fix-add-validator-issues
  • Loading branch information
felipemadero committed Dec 3, 2024
2 parents 82f9eb6 + fca8f62 commit b14414e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/prompts/validations.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func validateValidatorBalanceFunc(availableBalance uint64) func(string) error {
return fmt.Errorf("subnet validator balance must be at least 1 AVAX")
}
if val > availableBalance {
return fmt.Errorf("balance should be less than %d AVAX", availableBalance)
return fmt.Errorf("current balance of %d is not sufficient for subnet validator balance to be %d AVAX", availableBalance, val)
}
return nil
}
Expand Down

0 comments on commit b14414e

Please sign in to comment.