node: lint++

This commit is contained in:
Aleksandr Bezobchuk
2021-01-11 14:21:46 -05:00
parent 1f88c2a31c
commit 0b36cc01e1
2 changed files with 6 additions and 18 deletions

View File

@@ -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