htlcswitch: update to use new event stream from the chainWatcher
This commit is contained in:
5 files changed
+31
-27
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user