Skip to content

Commit

Permalink
reject zero amount withdraws
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Mar 1, 2024
1 parent 40aa9a5 commit bba6042
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion x/emissions/types/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit bba6042

Please sign in to comment.