diff options
author | Nick Johnson <arachnid@notdot.net> | 2017-07-03 22:17:12 +0800 |
---|---|---|
committer | Nick Johnson <arachnid@notdot.net> | 2017-07-03 22:17:12 +0800 |
commit | be8f8409bc7f0f3124b7ebd1480337e4b1942113 (patch) | |
tree | 1eafc7234f2a312580ccedba1dd3a95e3ac7ac5d /light | |
parent | ae11545bc5fc0fcf4340d9f33d488eaf81d8bb2d (diff) | |
download | go-tangerine-be8f8409bc7f0f3124b7ebd1480337e4b1942113.tar go-tangerine-be8f8409bc7f0f3124b7ebd1480337e4b1942113.tar.gz go-tangerine-be8f8409bc7f0f3124b7ebd1480337e4b1942113.tar.bz2 go-tangerine-be8f8409bc7f0f3124b7ebd1480337e4b1942113.tar.lz go-tangerine-be8f8409bc7f0f3124b7ebd1480337e4b1942113.tar.xz go-tangerine-be8f8409bc7f0f3124b7ebd1480337e4b1942113.tar.zst go-tangerine-be8f8409bc7f0f3124b7ebd1480337e4b1942113.zip |
eth/downloader, les, light: Changes in response to review
Diffstat (limited to 'light')
-rw-r--r-- | light/lightchain.go | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/light/lightchain.go b/light/lightchain.go index ec7ca3a0c..87436f4a5 100644 --- a/light/lightchain.go +++ b/light/lightchain.go @@ -389,21 +389,6 @@ func (self *LightChain) CurrentHeader() *types.Header { return self.hc.CurrentHeader() } -// CurrentBlock exists for interface compatibility and always returns nil -func (self *LightChain) CurrentBlock() *types.Block { - return nil -} - -// CurrentFastBlock exists for interface compatibility and always returns nil -func (self *LightChain) CurrentFastBlock() *types.Block { - return nil -} - -// FastSyncCommitHead exists for interface compatibility and does nothing -func (self *LightChain) FastSyncCommitHead(h common.Hash) error { - return nil -} - // GetTd retrieves a block's total difficulty in the canonical chain from the // database by hash and number, caching it if found. func (self *LightChain) GetTd(hash common.Hash, number uint64) *big.Int { |