aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbojie <bojie@dexon.org>2019-03-16 17:59:21 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:23 +0800
commit9ee92eff068b09246ab6446efa39abfc0c7bd8a8 (patch)
treef55e251cdead4213751cfdf3f0c37cd5320af464
parent4ef4aae7f34155deb7884c7fdc67878dbaf907a7 (diff)
downloadgo-tangerine-9ee92eff068b09246ab6446efa39abfc0c7bd8a8.tar
go-tangerine-9ee92eff068b09246ab6446efa39abfc0c7bd8a8.tar.gz
go-tangerine-9ee92eff068b09246ab6446efa39abfc0c7bd8a8.tar.bz2
go-tangerine-9ee92eff068b09246ab6446efa39abfc0c7bd8a8.tar.lz
go-tangerine-9ee92eff068b09246ab6446efa39abfc0c7bd8a8.tar.xz
go-tangerine-9ee92eff068b09246ab6446efa39abfc0c7bd8a8.tar.zst
go-tangerine-9ee92eff068b09246ab6446efa39abfc0c7bd8a8.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)