lnwallet: don't attach the rpcclient to the lnwallet logging instance

We no longer attach the RPC client to the lnwallet logging instance as
it can generate a ton of spam in trace mode as it’ll dump the entire
hex encoded blocks, transactions, etc.
This commit is contained in:
Olaoluwa Osuntokun committed 2017-08-30 20:32:37 -07:00
1 parent 1ce6c4668e
commit 73421caecc
2 files changed
+1 -3

No files matched your search

-2
View File
@@ -2,7 +2,6 @@ package lnwallet
import (
"github.com/btcsuite/btclog"
"github.com/roasbeef/btcd/rpcclient"
"github.com/roasbeef/btcwallet/chain"
btcwallet "github.com/roasbeef/btcwallet/wallet"
"github.com/roasbeef/btcwallet/wtxmgr"
@@ -32,7 +31,6 @@ func UseLogger(logger btclog.Logger) {
btcwallet.UseLogger(logger)
wtxmgr.UseLogger(logger)
rpcclient.UseLogger(logger)
chain.UseLogger(logger)
}