aboutsummaryrefslogtreecommitdiffstats
path: root/lds/handler.go
diff options
context:
space:
mode:
authorSonic <sonic@dexon.org>2019-05-06 14:59:06 +0800
committerSonic <sonic@dexon.org>2019-05-06 14:59:06 +0800
commitb4720965641332435d13cc3d3f54d3c17e7ed4e7 (patch)
tree9f60c7289aa4e944c177923451c64b7dc8ed3e1f /lds/handler.go
parenta09d947763d043c8672233b67afb283253e68b3c (diff)
downloaddexon-b4720965641332435d13cc3d3f54d3c17e7ed4e7.tar
dexon-b4720965641332435d13cc3d3f54d3c17e7ed4e7.tar.gz
dexon-b4720965641332435d13cc3d3f54d3c17e7ed4e7.tar.bz2
dexon-b4720965641332435d13cc3d3f54d3c17e7ed4e7.tar.lz
dexon-b4720965641332435d13cc3d3f54d3c17e7ed4e7.tar.xz
dexon-b4720965641332435d13cc3d3f54d3c17e7ed4e7.tar.zst
dexon-b4720965641332435d13cc3d3f54d3c17e7ed4e7.zip
lds: rename LesTxRelay to LdsTxRelay
Diffstat (limited to 'lds/handler.go')
-rw-r--r--lds/handler.go4
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,