WithState -> withState

This commit is contained in:
Taylor Gerring 2015-03-24 17:58:16 +01:00
parent 82b5a8af49
commit d41341f77d

View File

@ -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,
}