aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbojie <bojie@dexon.org>2019-03-16 17:59:21 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:58 +0800
commit9c9073db149d89eb31dc7c68d440b359f42fe8e9 (patch)
treeb19a4c9776d82aafe77c96d1350b6f2e35861e7c
parent6cf8f9af687623e2811e2805d62d6147592d5ced (diff)
downloaddexon-9c9073db149d89eb31dc7c68d440b359f42fe8e9.tar.gz
dexon-9c9073db149d89eb31dc7c68d440b359f42fe8e9.tar.zst
dexon-9c9073db149d89eb31dc7c68d440b359f42fe8e9.zip
app: remove log handler in test (#261)
-rw-r--r--dex/app_test.go3
1 files changed, 0 insertions, 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)