From d6bd4747647708ea3db93a5a8a30cd287731fbb4 Mon Sep 17 00:00:00 2001 From: MengXiangJian <805442788@qq.com> Date: Mon, 12 Jul 2021 11:01:58 +0800 Subject: [PATCH] Merge PR: Revert "fix farm InnitGenesis without SetAddressInFarmPool" (#922) * Revert "Merge PR: change version to v0.18.10 && fix farm InnitGenesis without SetAddressInFarmPool (#921)" This reverts commit 62d4f9b4b2e6d37965a3be75ce838fea2fb6073c. * change version to v0.18.10 --- x/farm/genesis.go | 1 - 1 file changed, 1 deletion(-) diff --git a/x/farm/genesis.go b/x/farm/genesis.go index e278bd5fb7..2ab844940e 100644 --- a/x/farm/genesis.go +++ b/x/farm/genesis.go @@ -21,7 +21,6 @@ func InitGenesis(ctx sdk.Context, k keeper.Keeper, data types.GenesisState) { for _, lockInfo := range data.LockInfos { k.SetLockInfo(ctx, lockInfo) - k.SetAddressInFarmPool(ctx, lockInfo.PoolName, lockInfo.Owner) } for _, historical := range data.PoolHistoricalRewards {