Skip to content

Commit

Permalink
update position
Browse files Browse the repository at this point in the history
  • Loading branch information
Ridel1e committed Jul 11, 2024
1 parent 83f5333 commit 2d78f0c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/network/cardano/api/positions/positions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ export const positions$ = combineLatest([
debounceTime(500),
map(([ammPools, lpWalletBalance, locks, networkContext]) =>
ammPools
.filter((ap) => lpWalletBalance.get(ap.lp.asset).isPositive())
.filter(
(ap) => lpWalletBalance.get(ap.lp.asset).isPositive() || locks[ap.id],
)
.map(
(ap) =>
new Position(
Expand Down

0 comments on commit 2d78f0c

Please sign in to comment.