mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-26 03:22:25 +00:00
WithState -> withState
This commit is contained in:
parent
82b5a8af49
commit
d41341f77d
1 changed files with 3 additions and 2 deletions
|
|
@ -124,10 +124,11 @@ func (self *XEth) AtStateNum(num int64) *XEth {
|
||||||
} else {
|
} else {
|
||||||
st = self.backend.ChainManager().State()
|
st = self.backend.ChainManager().State()
|
||||||
}
|
}
|
||||||
return self.WithState(st)
|
|
||||||
|
return self.withState(st)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *XEth) WithState(statedb *state.StateDB) *XEth {
|
func (self *XEth) withState(statedb *state.StateDB) *XEth {
|
||||||
xeth := &XEth{
|
xeth := &XEth{
|
||||||
backend: self.backend,
|
backend: self.backend,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue