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

+1 -1
View File
@@ -481,7 +481,7 @@ func (l *LightningWallet) handleFundingReserveRequest(req *initFundingReserveMsg
// If the funding request is for a different chain than the one the
// wallet is aware of, then we'll reject the request.
if *l.Cfg.NetParams.GenesisHash != *req.chainHash {
if !bytes.Equal(l.Cfg.NetParams.GenesisHash[:], req.chainHash[:]) {
req.err <- fmt.Errorf("unable to create channel reservation "+
"for chain=%v, wallet is on chain=%v",
req.chainHash, l.Cfg.NetParams.GenesisHash)