From bba6042a9eec88dd68a8f1b2cc53f449ea03a465 Mon Sep 17 00:00:00 2001 From: Tanmay Date: Fri, 1 Mar 2024 16:44:58 -0500 Subject: [PATCH] reject zero amount withdraws --- x/emissions/types/errors.go | 1 - 1 file changed, 1 deletion(-) diff --git a/x/emissions/types/errors.go b/x/emissions/types/errors.go index c25f367391..e5f778bc25 100644 --- a/x/emissions/types/errors.go +++ b/x/emissions/types/errors.go @@ -6,7 +6,6 @@ import errorsmod "cosmossdk.io/errors" var ( ErrEmissionsNotFound = errorsmod.Register(ModuleName, 1000, "Emissions not found") - ErrNotEnoughEmissionsAvailable = errorsmod.Register(ModuleName, 1001, "Not enough emissions available to withdraw") ErrUnableToWithdrawEmissions = errorsmod.Register(ModuleName, 1002, "Unable to withdraw emissions") ErrInvalidAddress = errorsmod.Register(ModuleName, 1003, "Invalid address") ErrRewardsPoolDoesNotHaveEnoughBalance = errorsmod.Register(ModuleName, 1004, "Rewards pool does not have enough balance")