Skip to content

Commit

Permalink
sf positions cl patch (osmosis-labs#5682)
Browse files Browse the repository at this point in the history
  • Loading branch information
czarcas7ic authored Jun 29, 2023
1 parent 14af337 commit 0198e9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x/superfluid/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,10 @@ func (q Querier) UserSuperfluidPositionsPerConcentratedPoolBreakdown(goCtx conte
return nil, err
}

// Its possible for a non superfluid lock to be attached to a position. This can happen for users migrating non superfluid positions that
// they intend to let mature so they can eventually set non full range positions.
if syntheticLock.UnderlyingLockId == 0 {
return nil, fmt.Errorf("synthetic lockup with underlying lock ID %d not found", lockId)
continue
}

valAddr, err := ValidatorAddressFromSyntheticDenom(syntheticLock.SynthDenom)
Expand Down

0 comments on commit 0198e9d

Please sign in to comment.