mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-06 17:47:01 +02:00
htlcswitch: add final htlc event to notifier
This commit is contained in:
@@ -53,6 +53,8 @@ func newHtlcResolverTestContext(t *testing.T,
|
||||
t: t,
|
||||
}
|
||||
|
||||
htlcNotifier := &mockHTLCNotifier{}
|
||||
|
||||
witnessBeacon := newMockWitnessBeacon()
|
||||
chainCfg := ChannelArbitratorConfig{
|
||||
ChainArbitratorConfig: ChainArbitratorConfig{
|
||||
@@ -84,6 +86,7 @@ func newHtlcResolverTestContext(t *testing.T,
|
||||
|
||||
return nil
|
||||
},
|
||||
HtlcNotifier: htlcNotifier,
|
||||
},
|
||||
PutResolverReport: func(_ kvdb.RwTx,
|
||||
report *channeldb.ResolverReport) error {
|
||||
|
Reference in New Issue
Block a user