diff options
author | Péter Szilágyi <peterke@gmail.com> | 2019-03-18 19:19:40 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-03-18 19:19:40 +0800 |
commit | 211ec46284fecf4a4eeb8dd322a8edf9f430be95 (patch) | |
tree | e77eb74be6e1fb3335de1742835468cb8f1199c4 /light/lightchain.go | |
parent | 54cd3e89a4aa51f4c9e3ce73a8393f7774d52e13 (diff) | |
download | go-tangerine-211ec46284fecf4a4eeb8dd322a8edf9f430be95.tar go-tangerine-211ec46284fecf4a4eeb8dd322a8edf9f430be95.tar.gz go-tangerine-211ec46284fecf4a4eeb8dd322a8edf9f430be95.tar.bz2 go-tangerine-211ec46284fecf4a4eeb8dd322a8edf9f430be95.tar.lz go-tangerine-211ec46284fecf4a4eeb8dd322a8edf9f430be95.tar.xz go-tangerine-211ec46284fecf4a4eeb8dd322a8edf9f430be95.tar.zst go-tangerine-211ec46284fecf4a4eeb8dd322a8edf9f430be95.zip |
les, light: verbose errors on state retrieval issues
Diffstat (limited to 'light/lightchain.go')
-rw-r--r-- | light/lightchain.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/light/lightchain.go b/light/lightchain.go index fb5f8ead2..38f1f6341 100644 --- a/light/lightchain.go +++ b/light/lightchain.go @@ -211,9 +211,8 @@ func (lc *LightChain) Genesis() *types.Block { return lc.genesisBlock } -// State returns a new mutable state based on the current HEAD block. -func (lc *LightChain) State() (*state.StateDB, error) { - return nil, errors.New("not implemented, needs client/server interface split") +func (lc *LightChain) StateCache() state.Database { + panic("not implemented") } // GetBody retrieves a block body (transactions and uncles) from the database |