mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-20 06:01:31 +00:00
remove deadcode
This commit is contained in:
@@ -504,12 +504,6 @@ func (conR *Reactor) updateRoundStateRoutine() {
|
||||
}
|
||||
}
|
||||
|
||||
func (conR *Reactor) setRoundState(rs *cstypes.RoundState) {
|
||||
conR.mtx.Lock()
|
||||
defer conR.mtx.Unlock()
|
||||
conR.rs = rs
|
||||
}
|
||||
|
||||
func (conR *Reactor) getRoundState() *cstypes.RoundState {
|
||||
conR.mtx.RLock()
|
||||
defer conR.mtx.RUnlock()
|
||||
|
||||
Reference in New Issue
Block a user