Skip to content

Commit 9262ff5

Browse files
committed
istanbul: set nil current while stop
1 parent 8a50e33 commit 9262ff5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

consensus/istanbul/core/handler.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ func (c *core) Start() error {
3838
func (c *core) Stop() error {
3939
c.stopTimer()
4040
c.unsubscribeEvents()
41+
c.current = nil
4142
return nil
4243
}
4344

0 commit comments

Comments
 (0)