core, light: delete SplitStatTy, ChainSplitEvent (unused)

This commit is contained in:
Felix Lange
2017-04-21 18:54:27 +02:00
parent d2fda73ad7
commit 7b2fc0643f
3 changed files with 3 additions and 15 deletions

View File

@ -377,9 +377,6 @@ func (self *LightChain) InsertHeaderChain(chain []*types.Header, checkFreq int)
case core.SideStatTy:
log.Debug("Inserted forked header", "number", header.Number, "hash", header.Hash())
events = append(events, core.ChainSideEvent{Block: types.NewBlockWithHeader(header)})
case core.SplitStatTy:
events = append(events, core.ChainSplitEvent{Block: types.NewBlockWithHeader(header)})
}
return err
}