aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/xeth.go
diff options
context:
space:
mode:
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r--xeth/xeth.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index b8a170c5b..afcb33e4c 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -148,10 +148,10 @@ func (self *XEth) AtStateNum(num int64) *XEth {
}
}
- 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,
}