diff options
Diffstat (limited to 'lds/handler.go')
-rw-r--r-- | lds/handler.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lds/handler.go b/lds/handler.go index a86fd7c4d..8bc374a24 100644 --- a/lds/handler.go +++ b/lds/handler.go @@ -91,7 +91,7 @@ type txPool interface { type ProtocolManager struct { lightSync bool txpool txPool - txrelay *LesTxRelay + txrelay *LdsTxRelay networkId uint64 chainConfig *params.ChainConfig iConfig *light.IndexerConfig @@ -124,7 +124,7 @@ type ProtocolManager struct { // NewProtocolManager returns a new ethereum sub protocol manager. The Ethereum sub protocol manages peers capable // with the ethereum network. -func NewProtocolManager(chainConfig *params.ChainConfig, indexerConfig *light.IndexerConfig, lightSync bool, networkId uint64, mux *event.TypeMux, engine consensus.Engine, peers *peerSet, blockchain BlockChain, txpool txPool, chainDb ethdb.Database, odr *LdsOdr, txrelay *LesTxRelay, serverPool *serverPool, quitSync chan struct{}, wg *sync.WaitGroup) (*ProtocolManager, error) { +func NewProtocolManager(chainConfig *params.ChainConfig, indexerConfig *light.IndexerConfig, lightSync bool, networkId uint64, mux *event.TypeMux, engine consensus.Engine, peers *peerSet, blockchain BlockChain, txpool txPool, chainDb ethdb.Database, odr *LdsOdr, txrelay *LdsTxRelay, serverPool *serverPool, quitSync chan struct{}, wg *sync.WaitGroup) (*ProtocolManager, error) { // Create the protocol manager with the base fields manager := &ProtocolManager{ lightSync: lightSync, |