mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-28 13:52:55 +02:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user