diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-03-03 17:41:52 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-03-03 17:41:52 +0800 |
commit | e7030c4bf59e8e148822c50ae1a5896c604c38c1 (patch) | |
tree | 4403290e84761608e8437d23ecef4d934406dd46 /light/state.go | |
parent | faf713632c307e3fd77a492481846b858ad991f9 (diff) | |
download | dexon-e7030c4bf59e8e148822c50ae1a5896c604c38c1.tar dexon-e7030c4bf59e8e148822c50ae1a5896c604c38c1.tar.gz dexon-e7030c4bf59e8e148822c50ae1a5896c604c38c1.tar.bz2 dexon-e7030c4bf59e8e148822c50ae1a5896c604c38c1.tar.lz dexon-e7030c4bf59e8e148822c50ae1a5896c604c38c1.tar.xz dexon-e7030c4bf59e8e148822c50ae1a5896c604c38c1.tar.zst dexon-e7030c4bf59e8e148822c50ae1a5896c604c38c1.zip |
all: update light logs (and a few others) to the new model
Diffstat (limited to 'light/state.go')
-rw-r--r-- | light/state.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/light/state.go b/light/state.go index 1fb583c1d..d3e047ef4 100644 --- a/light/state.go +++ b/light/state.go @@ -17,12 +17,10 @@ package light import ( - "fmt" "math/big" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" "golang.org/x/net/context" ) @@ -239,10 +237,6 @@ func (self *LightState) GetOrNewStateObject(ctx context.Context, addr common.Add // newStateObject creates a state object whether it exists in the state or not func (self *LightState) newStateObject(addr common.Address) *StateObject { - log.Debug("", "msg", log.Lazy{Fn: func() string { - return fmt.Sprintf("(+) %x\n", addr) - }}) - stateObject := NewStateObject(addr, self.odr) self.stateObjects[addr.Str()] = stateObject |