From 92a1d78ed89f5cd5ad87df93cf9b2864da1efdb5 Mon Sep 17 00:00:00 2001 From: Agustin Godnic Date: Thu, 26 Dec 2024 21:15:11 -0300 Subject: [PATCH] Remove unused exports --- plugin/exporter/idb/idb.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/plugin/exporter/idb/idb.go b/plugin/exporter/idb/idb.go index 505df73..d8b9cc2 100644 --- a/plugin/exporter/idb/idb.go +++ b/plugin/exporter/idb/idb.go @@ -88,9 +88,6 @@ type TxnExtra struct { // because initialization has not been completed. var ErrorNotInitialized error = errors.New("accounting not initialized") -// ErrorBlockNotFound is used when requesting a block that isn't in the DB. -var ErrorBlockNotFound = errors.New("block not found") - type IndexerDb interface { // Close all connections to the database. Should be called when IndexerDb is // no longer needed. @@ -136,11 +133,3 @@ type Health struct { type NetworkState struct { GenesisHash sdk.Digest `codec:"genesis-hash"` } - -// MaxTransactionsError records the error when transaction counts exceeds MaxTransactionsLimit. -type MaxTransactionsError struct { -} - -func (e MaxTransactionsError) Error() string { - return "number of transactions exceeds MaxTransactionsLimit" -}