From 5b2cb3e30d4910f9a776d152d7e1d9aad635dadd Mon Sep 17 00:00:00 2001 From: Collin Brittain Date: Wed, 9 Aug 2023 21:23:10 -0500 Subject: [PATCH] Remove unnecessary sort in BatchTxs query --- module/x/gravity/keeper/grpc_query.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/x/gravity/keeper/grpc_query.go b/module/x/gravity/keeper/grpc_query.go index e17511dca..219b07b81 100644 --- a/module/x/gravity/keeper/grpc_query.go +++ b/module/x/gravity/keeper/grpc_query.go @@ -132,8 +132,6 @@ func (k Keeper) BatchTxs(c context.Context, req *types.BatchTxsRequest) (*types. return nil, err } - batches = orderBatchesByNonceAscending(batches) - return &types.BatchTxsResponse{Batches: batches, Pagination: pageRes}, nil }