diff --git a/staker/staker.gno b/staker/staker.gno index 41ea94633..5f6907f5e 100644 --- a/staker/staker.gno +++ b/staker/staker.gno @@ -137,12 +137,12 @@ func calculateStakeData(tokenId uint64, owner, caller std.Address) (*stakeResult return nil, err } - poolPath := pn.PositionGetPositionPoolKey(tokenId) - if err := poolHasIncentives(poolPath); err != nil { + if err := tokenHasLiquidity(tokenId); err != nil { return nil, err } - if err := tokenHasLiquidity(tokenId); err != nil { + poolPath := pn.PositionGetPositionPoolKey(tokenId) + if err := poolHasIncentives(poolPath); err != nil { return nil, err }