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
2017-08-30 20:32:33 -07:00
parent 1ce6c4668e
commit 73421caecc
2 changed files with 1 additions and 3 deletions

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)
}