Skip to content

Commit

Permalink
Fix the superfluid query (#5831)
Browse files Browse the repository at this point in the history
* Fix the superfluid query

* Changelog

(cherry picked from commit 13c8874)
  • Loading branch information
ValarDragon authored and mergify[bot] committed Jul 13, 2023
1 parent b79fa16 commit b3e48bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

* [#5532](https://github.com/osmosis-labs/osmosis/pull/5532) fix: Fix x/tokenfactory genesis import denoms reset x/bank existing denom metadata

### BugFix

* [#5831](https://github.com/osmosis-labs/osmosis/pull/5831) Fix superfluid_delegations query

### Misc Improvements

* [#5534](https://github.com/osmosis-labs/osmosis/pull/5534) fix: fix the account number of x/tokenfactory module account
Expand Down
4 changes: 3 additions & 1 deletion x/lockup/keeper/synthetic_lock.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ func (k Keeper) GetAllSyntheticLockupsByAddr(ctx sdk.Context, owner sdk.AccAddre
if err != nil {
panic(err)
}
synthLocks = append(synthLocks, synthLock)
if synthLock.UnderlyingLockId != 0 {
synthLocks = append(synthLocks, synthLock)
}
}
return synthLocks
}
Expand Down

0 comments on commit b3e48bb

Please sign in to comment.