From e7030c4bf59e8e148822c50ae1a5896c604c38c1 Mon Sep 17 00:00:00 2001 From: Péter Szilágyi Date: Fri, 3 Mar 2017 11:41:52 +0200 Subject: all: update light logs (and a few others) to the new model --- light/state.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'light/state.go') 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 -- cgit