From b3a056c8c143e4331624c67255484e1d2dee0462 Mon Sep 17 00:00:00 2001 From: sukantoraymond Date: Tue, 3 Dec 2024 11:49:05 -0500 Subject: [PATCH] change add validator balance error message (#2385) * change add validator balance error message * change err msg --- pkg/prompts/validations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/prompts/validations.go b/pkg/prompts/validations.go index 8b13cdddf..baf7e0e2c 100644 --- a/pkg/prompts/validations.go +++ b/pkg/prompts/validations.go @@ -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 }