aboutsummaryrefslogtreecommitdiffstats
path: root/light
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2017-04-22 00:54:27 +0800
committerFelix Lange <fjl@twurst.com>2017-04-22 00:56:00 +0800
commit7b2fc0643f68258cbb10afac1a487e09342dd7ab (patch)
treec5104df0854a9c9a7792846398d6e680ff12d8a9 /light
parentd2fda73ad7f4771dadb265d1cbfaecaaabb2cb42 (diff)
downloaddexon-7b2fc0643f68258cbb10afac1a487e09342dd7ab.tar.gz
dexon-7b2fc0643f68258cbb10afac1a487e09342dd7ab.tar.zst
dexon-7b2fc0643f68258cbb10afac1a487e09342dd7ab.zip
core, light: delete SplitStatTy, ChainSplitEvent (unused)
Diffstat (limited to 'light')
-rw-r--r--light/lightchain.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/light/lightchain.go b/light/lightchain.go
index e8fd0ba5e..5b7e57041 100644
--- a/light/lightchain.go
+++ b/light/lightchain.go
@@ -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
}