mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-13 07:11:13 +00:00
node: lint++
This commit is contained in:
12
node/node.go
12
node/node.go
@@ -386,16 +386,10 @@ func createBlockchainReactor(
|
||||
|
||||
switch config.FastSync.Version {
|
||||
case "v0":
|
||||
reactorShim := p2p.NewReactorShim(logger, "BlokchainShim", bcv0.ChannelShims)
|
||||
reactorShim := p2p.NewReactorShim(logger, "BlockchainShim", bcv0.ChannelShims)
|
||||
reactor := bcv0.NewReactor(
|
||||
logger,
|
||||
state.Copy(),
|
||||
blockExec,
|
||||
blockStore,
|
||||
csReactor,
|
||||
reactorShim.GetChannel(bcv0.BlockchainChannel),
|
||||
reactorShim.PeerUpdates,
|
||||
fastSync,
|
||||
logger, state.Copy(), blockExec, blockStore, csReactor,
|
||||
reactorShim.GetChannel(bcv0.BlockchainChannel), reactorShim.PeerUpdates, fastSync,
|
||||
)
|
||||
|
||||
return reactorShim, reactor, nil
|
||||
|
||||
Reference in New Issue
Block a user