From 736ad0107160098b7dfca73a29e19f7903d68232 Mon Sep 17 00:00:00 2001 From: Pavel Date: Mon, 6 Jan 2025 16:08:34 +0300 Subject: [PATCH] service.go --- stakerservice/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stakerservice/service.go b/stakerservice/service.go index 78973c5..677b5c9 100644 --- a/stakerservice/service.go +++ b/stakerservice/service.go @@ -387,7 +387,7 @@ func (s *StakerService) withdrawableTransactions(_ *rpctypes.Context, offset, li lastIdx := "0" if len(stakingDetails) > 0 { // this should ease up pagination i.e in case when whe have 1000 transactions, and we limit query to 50 - // due to filetring we can retrun response with 50 transactions when last one have index 400, + // due to filtering we can return response with 50 transactions when last one have index 400, // then caller can specify offset=400 and get next withdrawable transactions. lastIdx = stakingDetails[len(stakingDetails)-1].TransactionIdx }