From 8ff31f980a7e169dda85cd77f88f56d03788a135 Mon Sep 17 00:00:00 2001 From: bojie Date: Sat, 16 Mar 2019 17:59:21 +0800 Subject: app: remove log handler in test (#261) --- dex/app_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/dex/app_test.go b/dex/app_test.go index 59db1cb22..f47b838d1 100644 --- a/dex/app_test.go +++ b/dex/app_test.go @@ -24,7 +24,6 @@ import ( "github.com/dexon-foundation/dexon/crypto" "github.com/dexon-foundation/dexon/ethdb" "github.com/dexon-foundation/dexon/event" - "github.com/dexon-foundation/dexon/log" "github.com/dexon-foundation/dexon/rlp" ) @@ -2132,8 +2131,6 @@ func (f TxFactory) New(app App, center *ProductCenter, stopTimeMu *sync.RWMutex, } func TestDexonApp(t *testing.T) { - log.Root().SetHandler(log.LvlFilterHandler(log.LvlDebug, log.StdoutHandler)) - masterKey, err := crypto.GenerateKey() if err != nil { t.Fatalf("Generate key fail: %v", err) -- cgit