mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-04 18:01:57 +01:00
htlcswitch: update to use new event stream from the chainWatcher
This commit is contained in:
@@ -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