This commit is contained in:
Ethan Buchman
2017-08-09 23:51:09 -04:00
parent 92ada55e5a
commit b0728260e9
2 changed files with 3 additions and 1 deletions

View File

@@ -296,7 +296,7 @@ func (conR *ConsensusReactor) SetEventSwitch(evsw types.EventSwitch) {
conR.conS.SetEventSwitch(evsw)
}
// FastSync returns whether the consensus reactor is currently fast syncing
// FastSync returns whether the consensus reactor is in fast-sync mode.
func (conR *ConsensusReactor) FastSync() bool {
conR.mtx.RLock()
defer conR.mtx.RUnlock()