Skip to content

Commit

Permalink
Merge PR: change version to v0.18.10 && fix farm InnitGenesis without…
Browse files Browse the repository at this point in the history
… SetAddressInFarmPool (#921)
  • Loading branch information
xiangjianmeng authored Jul 12, 2021
1 parent a01f5ca commit 62d4f9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export GO111MODULE=on
GithubTop=github.com


Version=v0.18.9
Version=v0.18.10
CosmosSDK=v0.39.2
Tendermint=v0.33.9
Iavl=v0.14.3
Expand Down
1 change: 1 addition & 0 deletions x/farm/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ 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 62d4f9b

Please sign in to comment.