Skip to content

Commit

Permalink
fix : pool tier
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyhyde committed Jan 18, 2025
1 parent 37ef883 commit 4cbe214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staker/manage_pool_tier_and_warmup.gno
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ func SetPoolTier(poolPath string, tier uint64) {
func setPoolTier(poolPath string, tier uint64) {
en.MintAndDistributeGns()

poolTier.changeTier(std.GetHeight(), pools, poolPath, tier)
pools.GetOrCreate(poolPath, pl.PoolGetSlot0Tick(poolPath))
poolTier.changeTier(std.GetHeight(), pools, poolPath, tier)

prevAddr, prevRealm := getPrev()
std.Emit(
Expand Down

0 comments on commit 4cbe214

Please sign in to comment.