Skip to content

Commit

Permalink
sbft: accept new view even if we are not in view change
Browse files Browse the repository at this point in the history
Change-Id: Ic7499c3a41729a882e346cd005f5beea26c04605
Signed-off-by: Simon Schubert <sis@zurich.ibm.com>
  • Loading branch information
corecode authored and Simon Schubert committed Nov 22, 2016
1 parent fbb06ba commit 6d53b1e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions orderer/sbft/simplebft/newview.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ func (s *SBFT) handleNewView(nv *NewView, src uint64) {

s.replicaState[s.primaryIDView(nv.View)].newview = nv

if nv.View > s.view {
s.view = nv.View
s.activeView = false
}

s.processNewView()
}

Expand Down

0 comments on commit 6d53b1e

Please sign in to comment.