Skip to content

Commit

Permalink
Avoid duplicated follower chain.Halt()
Browse files Browse the repository at this point in the history
Signed-off-by: Will Lahti <wtlahti@us.ibm.com>
  • Loading branch information
wlahti authored and ale-linux committed Oct 28, 2020
1 parent 286293a commit 8899f5a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions orderer/common/multichannel/registrar.go
Original file line number Diff line number Diff line change
Expand Up @@ -922,8 +922,6 @@ func (r *Registrar) removeMember(channelID string, cs *ChainSupport) error {
}

func (r *Registrar) removeFollower(channelID string, follower *follower.Chain) error {
follower.Halt()

// join block may still exist if the follower is:
// 1) still onboarding
// 2) active but not yet called registrar.SwitchFollowerToChain()
Expand Down

0 comments on commit 8899f5a

Please sign in to comment.