From 8084428cd0f292629106aeee774cdd5955ff7166 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Wed, 5 Aug 2020 10:16:23 +0200 Subject: [PATCH] Update x/auth/legacy/v0_39/types.go Co-authored-by: Alexander Bezobchuk --- x/auth/legacy/v0_39/types.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/x/auth/legacy/v0_39/types.go b/x/auth/legacy/v0_39/types.go index 39a36d29ea28..dbf9b3b8870d 100644 --- a/x/auth/legacy/v0_39/types.go +++ b/x/auth/legacy/v0_39/types.go @@ -203,10 +203,6 @@ func (bva BaseVestingAccount) GetEndTime() int64 { } func (bva BaseVestingAccount) Validate() error { - if (bva.Coins.IsZero() && !bva.OriginalVesting.IsZero()) || - bva.OriginalVesting.IsAnyGT(bva.Coins) { - return errors.New("vesting amount cannot be greater than total amount") - } return bva.BaseAccount.Validate() }