This commit is contained in:
William Banfield
2022-08-03 17:19:09 -04:00
parent 705316442a
commit 71607e6fcd
+1
View File
@@ -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()