mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 22:26:42 +00:00
consensus/bor: added Config() to chain context
This commit is contained in:
parent
cf3caca17c
commit
c23db04a2d
1 changed files with 4 additions and 0 deletions
|
|
@ -33,6 +33,10 @@ func (c ChainContext) GetHeader(hash common.Hash, number uint64) *types.Header {
|
|||
return c.Chain.GetHeader(hash, number)
|
||||
}
|
||||
|
||||
func (c ChainContext) Config() *params.ChainConfig {
|
||||
return c.Chain.Config()
|
||||
}
|
||||
|
||||
// callmsg implements core.Message to allow passing it as a transaction simulator.
|
||||
type Callmsg struct {
|
||||
ethereum.CallMsg
|
||||
|
|
|
|||
Loading…
Reference in a new issue