aboutsummaryrefslogtreecommitdiffstats
path: root/consensus/clique/snapshot_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-04-12 20:37:10 +0800
committerGitHub <noreply@github.com>2017-04-12 20:37:10 +0800
commit6b7ae4e751dbaee0f31032f045fd35b0c1079388 (patch)
treee63f021ae31976fa78e2f5c76a9d1399264db942 /consensus/clique/snapshot_test.go
parent050ceff1aed3d06b4ebf4aead0dc03e7cac34458 (diff)
downloaddexon-6b7ae4e751dbaee0f31032f045fd35b0c1079388.tar.gz
dexon-6b7ae4e751dbaee0f31032f045fd35b0c1079388.tar.zst
dexon-6b7ae4e751dbaee0f31032f045fd35b0c1079388.zip
consensus/clique, internal/web3ext: support hash based API queries (#14321)
* consensus/clique, internal/web3ext: support hash based API queries * consensus/clique: make RPC return types public
Diffstat (limited to 'consensus/clique/snapshot_test.go')
-rw-r--r--consensus/clique/snapshot_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/consensus/clique/snapshot_test.go b/consensus/clique/snapshot_test.go
index 3ebe33bc5..49a1d7d5b 100644
--- a/consensus/clique/snapshot_test.go
+++ b/consensus/clique/snapshot_test.go
@@ -78,6 +78,7 @@ func (r *testerChainReader) Config() *params.ChainConfig { panic
func (r *testerChainReader) CurrentHeader() *types.Header { panic("not supported") }
func (r *testerChainReader) GetHeader(common.Hash, uint64) *types.Header { panic("not supported") }
func (r *testerChainReader) GetBlock(common.Hash, uint64) *types.Block { panic("not supported") }
+func (r *testerChainReader) GetHeaderByHash(common.Hash) *types.Header { panic("not supported") }
func (r *testerChainReader) GetHeaderByNumber(number uint64) *types.Header {
if number == 0 {
return core.GetHeader(r.db, core.GetCanonicalHash(r.db, 0), 0)