htlcswitch: update to use new event stream from the chainWatcher

This commit is contained in:
Olaoluwa Osuntokun committed 2018-01-22 19:19:51 -08:00
1 parent 69e6ec9954
commit 239416f242
5 files changed
+31 -27

No files matched your search

+2 -2
View File
@@ -222,13 +222,13 @@ func createTestPeer(notifier chainntnfs.ChainNotifier,
bobSigner := &mockSigner{bobKeyPriv}
channelAlice, err := lnwallet.NewLightningChannel(
aliceSigner, notifier, nil, aliceChannelState,
aliceSigner, nil, aliceChannelState,
)
if err != nil {
return nil, nil, nil, nil, err
}
channelBob, err := lnwallet.NewLightningChannel(
bobSigner, notifier, nil, bobChannelState,
bobSigner, nil, bobChannelState,
)
if err != nil {
return nil, nil, nil, nil, err