File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ type LedgerSeqRange struct {
18
18
LastLedger uint32
19
19
}
20
20
21
- // isStartLedgerWithinBounds checks whether the request start ledger/cursor is within the max/min ledger
21
+ // IsStartLedgerWithinBounds checks whether the request start ledger/cursor is within the max/min ledger
22
22
// for the current RPC instance.
23
23
func IsStartLedgerWithinBounds (startLedger uint32 , ledgerRange LedgerSeqRange ) bool {
24
24
return startLedger >= ledgerRange .FirstLedger && startLedger <= ledgerRange .LastLedger
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ type GetTransactionsRequest struct {
21
21
Format string `json:"xdrFormat,omitempty"`
22
22
}
23
23
24
- // isValid checks the validity of the request parameters.
24
+ // IsValid checks the validity of the request parameters.
25
25
func (req GetTransactionsRequest ) IsValid (maxLimit uint , ledgerRange LedgerSeqRange ) error {
26
26
if req .Pagination != nil && req .Pagination .Cursor != "" {
27
27
if req .StartLedger != 0 {
You can’t perform that action at this time.
0 commit comments