From f4206b8b8ada05c758579ce1acabba390575b7aa Mon Sep 17 00:00:00 2001 From: George Kudrayvtsev Date: Fri, 17 May 2024 12:32:49 -0700 Subject: [PATCH] We aren't conforming to an interface anymore, anyway --- cmd/soroban-rpc/internal/events/events.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/soroban-rpc/internal/events/events.go b/cmd/soroban-rpc/internal/events/events.go index 36ce7282..b724fbf9 100644 --- a/cmd/soroban-rpc/internal/events/events.go +++ b/cmd/soroban-rpc/internal/events/events.go @@ -1,7 +1,6 @@ package events import ( - "context" "errors" "io" "sort" @@ -268,7 +267,7 @@ func readEvents(networkPassphrase string, ledgerCloseMeta xdr.LedgerCloseMeta) ( } // GetLedgerRange returns the first and latest ledger available in the store. -func (m *MemoryStore) GetLedgerRange(_ context.Context) (ledgerbucketwindow.LedgerRange, error) { +func (m *MemoryStore) GetLedgerRange() (ledgerbucketwindow.LedgerRange, error) { m.lock.RLock() defer m.lock.RUnlock() return m.eventsByLedger.GetLedgerRange(), nil