WithState -> withState
This commit is contained in:
parent
82b5a8af49
commit
d41341f77d
|
@ -124,10 +124,11 @@ func (self *XEth) AtStateNum(num int64) *XEth {
|
|||
} else {
|
||||
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{
|
||||
backend: self.backend,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue