diff options
author | bojie <bojie@dexon.org> | 2019-03-16 17:59:21 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:50:04 +0800 |
commit | fc2f94990eeac244ccb50fea5d6fda63b67ccc69 (patch) | |
tree | 82a1b8decd4ff09a2ac1e730cdaad09dce395872 | |
parent | 6aa01582a5a9fed6f8fd9e7cff2803f55193f371 (diff) | |
download | dexon-fc2f94990eeac244ccb50fea5d6fda63b67ccc69.tar dexon-fc2f94990eeac244ccb50fea5d6fda63b67ccc69.tar.gz dexon-fc2f94990eeac244ccb50fea5d6fda63b67ccc69.tar.bz2 dexon-fc2f94990eeac244ccb50fea5d6fda63b67ccc69.tar.lz dexon-fc2f94990eeac244ccb50fea5d6fda63b67ccc69.tar.xz dexon-fc2f94990eeac244ccb50fea5d6fda63b67ccc69.tar.zst dexon-fc2f94990eeac244ccb50fea5d6fda63b67ccc69.zip |
app: remove log handler in test (#261)
-rw-r--r-- | dex/app_test.go | 3 |
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) |