htlcswitch: add final htlc event to notifier

This commit is contained in:
Joost Jager
2022-08-29 13:28:17 +02:00
parent 28256b7ea8
commit 511fb00777
21 changed files with 729 additions and 404 deletions

View File

@@ -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 {