mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
core/chain_makers: add CalcPastMedianTime to *fakeChainReader; remove unused misc imports
This commit is contained in:
parent
70756bcbe6
commit
7defef6387
2 changed files with 1 additions and 2 deletions
|
|
@ -22,7 +22,6 @@ import (
|
||||||
|
|
||||||
"github.com/ubiq/go-ubiq/common"
|
"github.com/ubiq/go-ubiq/common"
|
||||||
"github.com/ubiq/go-ubiq/consensus"
|
"github.com/ubiq/go-ubiq/consensus"
|
||||||
"github.com/ubiq/go-ubiq/consensus/misc"
|
|
||||||
"github.com/ubiq/go-ubiq/core/state"
|
"github.com/ubiq/go-ubiq/core/state"
|
||||||
"github.com/ubiq/go-ubiq/core/types"
|
"github.com/ubiq/go-ubiq/core/types"
|
||||||
"github.com/ubiq/go-ubiq/core/vm"
|
"github.com/ubiq/go-ubiq/core/vm"
|
||||||
|
|
@ -269,3 +268,4 @@ func (cr *fakeChainReader) GetHeaderByNumber(number uint64) *types.Header
|
||||||
func (cr *fakeChainReader) GetHeaderByHash(hash common.Hash) *types.Header { return nil }
|
func (cr *fakeChainReader) GetHeaderByHash(hash common.Hash) *types.Header { return nil }
|
||||||
func (cr *fakeChainReader) GetHeader(hash common.Hash, number uint64) *types.Header { return nil }
|
func (cr *fakeChainReader) GetHeader(hash common.Hash, number uint64) *types.Header { return nil }
|
||||||
func (cr *fakeChainReader) GetBlock(hash common.Hash, number uint64) *types.Block { return nil }
|
func (cr *fakeChainReader) GetBlock(hash common.Hash, number uint64) *types.Block { return nil }
|
||||||
|
func (cr *fakeChainReader) CalcPastMedianTime(number uint64, parent *types.Header) *big.Int { return nil }
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,6 @@ package core
|
||||||
import (
|
import (
|
||||||
"github.com/ubiq/go-ubiq/common"
|
"github.com/ubiq/go-ubiq/common"
|
||||||
"github.com/ubiq/go-ubiq/consensus"
|
"github.com/ubiq/go-ubiq/consensus"
|
||||||
"github.com/ubiq/go-ubiq/consensus/misc"
|
|
||||||
"github.com/ubiq/go-ubiq/core/state"
|
"github.com/ubiq/go-ubiq/core/state"
|
||||||
"github.com/ubiq/go-ubiq/core/types"
|
"github.com/ubiq/go-ubiq/core/types"
|
||||||
"github.com/ubiq/go-ubiq/core/vm"
|
"github.com/ubiq/go-ubiq/core/vm"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue