mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-01 05:37:03 +00:00
close
This commit is contained in:
@@ -420,6 +420,7 @@ func createConsensusReactor(
|
||||
if cfg.P2P.UseLegacy {
|
||||
channels = getChannelsFromShim(reactorShim)
|
||||
peerUpdates = reactorShim.PeerUpdates
|
||||
peerUpdates.Close()
|
||||
} else {
|
||||
channels = makeChannelsFromShims(router, consensus.ChannelShims)
|
||||
peerUpdates = peerManager.Subscribe()
|
||||
|
||||
Reference in New Issue
Block a user