lnd: properly initialize entities of new contractcourt package

This commit is contained in:
Olaoluwa Osuntokun
2018-01-16 20:25:34 -08:00
parent bfbec1c5d3
commit 24a16b4f49
4 changed files with 104 additions and 8 deletions

View File

@ -1,3 +1,5 @@
// +build !rpctest
package main
import (
@ -7,6 +9,7 @@ import (
"github.com/btcsuite/btclog"
"github.com/lightningnetwork/lnd/chainntnfs"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/lightningnetwork/lnd/contractcourt"
"github.com/lightningnetwork/lnd/htlcswitch"
"github.com/lightningnetwork/lnd/lnrpc"
"github.com/lightningnetwork/lnd/lnwallet"
@ -23,6 +26,7 @@ func init() {
lnwallet.UseLogger(btclog.Disabled)
htlcswitch.UseLogger(btclog.Disabled)
channeldb.UseLogger(btclog.Disabled)
contractcourt.UseLogger(btclog.Disabled)
}
// TestPeerChannelClosureAcceptFeeResponder tests the shutdown responder's