Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoorchashm37 committed Dec 23, 2024
1 parent 0039193 commit 17905db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/rpc/src/api/orders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ pub trait OrderApi {
#[method(name = "ordersByPairs")]
async fn orders_by_pool_ids(
&self,
pair_with_location: Vec<(FixedBytes<32>, OrderLocation)>
pool_ids_with_location: Vec<(PoolId, OrderLocation)>
) -> RpcResult<Vec<AllOrders>> {
Ok(futures::stream::iter(pair_with_location.into_iter())
Ok(futures::stream::iter(pool_ids_with_location.into_iter())
.map(|(pair, location)| async move { self.orders_by_pool_id(pair, location).await })
.buffered(3)
.collect::<Vec<_>>()
Expand Down

0 comments on commit 17905db

Please sign in to comment.