Skip to content

Commit

Permalink
fix: removing unreachable code
Browse files Browse the repository at this point in the history
  • Loading branch information
b00f committed Oct 21, 2023
1 parent 2d228a9 commit 418f0e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions consensus/cp.go
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,5 @@ func (cp *changeProposer) cpDecide(cpValue vote.CPValue) {
}
cp.cpDecided = 0
cp.enterNewState(cp.prepareState)
} else {
panic("unreachable")
}
}

0 comments on commit 418f0e4

Please sign in to comment.