diff --git a/test_utils.go b/test_utils.go index 0de7f0f80..34aef8b97 100644 --- a/test_utils.go +++ b/test_utils.go @@ -22,6 +22,7 @@ import ( "github.com/lightningnetwork/lnd/lnwallet" "github.com/lightningnetwork/lnd/lnwire" "github.com/lightningnetwork/lnd/shachain" + "github.com/lightningnetwork/lnd/ticker" ) var ( @@ -351,6 +352,10 @@ func createTestPeer(notifier chainntnfs.ChainNotifier, DB: dbAlice, SwitchPackager: channeldb.NewSwitchPackager(), Notifier: notifier, + FwdEventTicker: ticker.New( + htlcswitch.DefaultFwdEventInterval), + LogEventTicker: ticker.New( + htlcswitch.DefaultLogInterval), }, uint32(currentHeight)) if err != nil { return nil, nil, nil, nil, err