aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbojie <bojie@dexon.org>2019-03-16 17:59:21 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-16 17:59:21 +0800
commit8ff31f980a7e169dda85cd77f88f56d03788a135 (patch)
treed42afe7b0229f3c76278a08092aa73ab9125927e
parent91518d9592931b0c848ffac1874b9895c93cce3a (diff)
downloaddexon-8ff31f980a7e169dda85cd77f88f56d03788a135.tar.gz
dexon-8ff31f980a7e169dda85cd77f88f56d03788a135.tar.zst
dexon-8ff31f980a7e169dda85cd77f88f56d03788a135.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)