From d41341f77d03a7ab8483cd9df4bc71ac08bbfc7c Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Tue, 24 Mar 2015 17:58:16 +0100 Subject: [PATCH] WithState -> withState --- xeth/xeth.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xeth/xeth.go b/xeth/xeth.go index 28d1916b01..8296e61bba 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, }