Skip to content

Commit

Permalink
fix list pool perpetual query
Browse files Browse the repository at this point in the history
  • Loading branch information
99adarsh committed Jan 6, 2025
1 parent fff3f66 commit a1f6ba3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/perpetual/keeper/query_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func (k Keeper) Pools(goCtx context.Context, req *types.QueryAllPoolRequest) (*t
TotalLiabilities: totalLiabilities,
TotalLongOpenInterest: pool.GetTotalLongOpenInterest(),
TotalShortOpenInterest: pool.GetTotalShortOpenInterest(),
LeverageMax: pool.LeverageMax,
})
}

Expand Down

0 comments on commit a1f6ba3

Please sign in to comment.