Skip to content

Commit

Permalink
Merge PR: Revert "fix farm InnitGenesis without SetAddressInFarmPool" (
Browse files Browse the repository at this point in the history
…#922)

* Revert "Merge PR: change version to v0.18.10 && fix farm InnitGenesis without SetAddressInFarmPool (#921)"

This reverts commit 62d4f9b.

* change version to v0.18.10
  • Loading branch information
xiangjianmeng authored Jul 12, 2021
1 parent 62d4f9b commit d6bd474
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion x/farm/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d6bd474

Please sign in to comment.