Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya1702 committed May 3, 2024
1 parent 088dff0 commit 74e2941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/soroban-rpc/internal/methods/get_transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (req GetTransactionsRequest) isValid(maxLimit uint) error {
if req.StartLedger != 0 {
return errors.New("startLedger and cursor cannot both be set")
}
} else if req.StartLedger <= 1 {
} else if req.StartLedger < 1 {
return errors.New("start ledger cannot be negative")
}
if req.Pagination != nil && req.Pagination.Limit > maxLimit {
Expand Down

0 comments on commit 74e2941

Please sign in to comment.