This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
consensus: wait on stop if not fastsync
pull/1970/head
Ethan Buchman
6 years ago
parent
9703a8825d
commit
9b0b0b02d0
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
consensus/reactor.go
+ 3
- 0
consensus/reactor.go
View File
@ -80,6 +80,9 @@ func (conR *ConsensusReactor) OnStop() {
conR
.
BaseReactor
.
OnStop
(
)
conR
.
unsubscribeFromBroadcastEvents
(
)
conR
.
conS
.
Stop
(
)
if
!
conR
.
FastSync
(
)
{
conR
.
conS
.
Wait
(
)
}
}
// SwitchToConsensus switches from fast_sync mode to consensus mode.
Write
Preview
Loading…
Cancel
Save