diff options
author | Sonic <sonic@dexon.org> | 2019-05-06 14:59:06 +0800 |
---|---|---|
committer | Sonic <sonic@dexon.org> | 2019-05-06 14:59:06 +0800 |
commit | b4720965641332435d13cc3d3f54d3c17e7ed4e7 (patch) | |
tree | 9f60c7289aa4e944c177923451c64b7dc8ed3e1f /lds/handler.go | |
parent | a09d947763d043c8672233b67afb283253e68b3c (diff) | |
download | dexon-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.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, |