eth/filters: golint fixes

This commit is contained in:
Mike Kinney 2019-12-09 22:09:26 -08:00
parent e6df8a55cc
commit 784cf0a407
2 changed files with 3 additions and 1 deletions

View file

@ -30,6 +30,7 @@ import (
"github.com/ethereum/go-ethereum/rpc"
)
// Backend interface
type Backend interface {
ChainDb() ethdb.Database
EventMux() *event.TypeMux

View file

@ -53,7 +53,7 @@ const (
PendingTransactionsSubscription
// BlocksSubscription queries hashes for blocks that are imported
BlocksSubscription
// LastSubscription keeps track of the last index
// LastIndexSubscription keeps track of the last index
LastIndexSubscription
)
@ -71,6 +71,7 @@ const (
)
var (
// ErrInvalidSubscriptionID is the invalid id error
ErrInvalidSubscriptionID = errors.New("invalid id")
)