Skip to content

Commit

Permalink
Remove unused exports
Browse files Browse the repository at this point in the history
  • Loading branch information
agodnic committed Dec 27, 2024
1 parent e06be05 commit 92a1d78
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions plugin/exporter/idb/idb.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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"
}

0 comments on commit 92a1d78

Please sign in to comment.