WithState -> withState

pull/560/head
Taylor Gerring 10 years ago
parent 82b5a8af49
commit d41341f77d
  1. 5
      xeth/xeth.go

@ -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…
Cancel
Save