aboutsummaryrefslogtreecommitdiffstats
path: root/xeth
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-25 00:58:16 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-25 00:58:16 +0800
commitd41341f77d03a7ab8483cd9df4bc71ac08bbfc7c (patch)
treecb3530ca4c91231cb142e5d11b4b1283145b33fc /xeth
parent82b5a8af49c7c56296e1d1a2303eb53d6f50734f (diff)
downloadgo-tangerine-d41341f77d03a7ab8483cd9df4bc71ac08bbfc7c.tar
go-tangerine-d41341f77d03a7ab8483cd9df4bc71ac08bbfc7c.tar.gz
go-tangerine-d41341f77d03a7ab8483cd9df4bc71ac08bbfc7c.tar.bz2
go-tangerine-d41341f77d03a7ab8483cd9df4bc71ac08bbfc7c.tar.lz
go-tangerine-d41341f77d03a7ab8483cd9df4bc71ac08bbfc7c.tar.xz
go-tangerine-d41341f77d03a7ab8483cd9df4bc71ac08bbfc7c.tar.zst
go-tangerine-d41341f77d03a7ab8483cd9df4bc71ac08bbfc7c.zip
WithState -> withState
Diffstat (limited to 'xeth')
-rw-r--r--xeth/xeth.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index 28d1916b0..8296e61bb 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -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,
}