mempool: reserve IDs in InitPeer instead of AddPeer

This commit is contained in:
Tess Rinearson
2020-04-03 17:17:36 +04:00
committed by Anton Kaliaev
parent e6a7757bb4
commit ffb0278d95
5 changed files with 29 additions and 6 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ func NewConsensusReactor(consensusState *ConsensusState, fastSync bool, options
metrics: NopMetrics(),
}
conR.updateFastSyncingMetric()
conR.BaseReactor = *p2p.NewBaseReactor("ConsensusReactor", conR)
conR.BaseReactor = *p2p.NewBaseReactor("Consensus", conR)
for _, option := range options {
option(conR)