htlcswitch: update to use new event stream from the chainWatcher

This commit is contained in:
Olaoluwa Osuntokun
2018-01-18 14:15:42 -08:00
parent 69e6ec9954
commit 239416f242
5 changed files with 31 additions and 27 deletions

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