contractcourt: add onchain interception

This commit is contained in:
Joost Jager committed 2022-04-13 11:31:33 +02:00
1 parent c392e003aa
commit 721fb4ee88
11 files changed
+264 -16

No files matched your search

+6 -2
View File
@@ -65,8 +65,12 @@ func (m *mockPreimageCache) AddPreimages(preimages ...lntypes.Preimage) error {
return nil
}
func (m *mockPreimageCache) SubscribeUpdates() *contractcourt.WitnessSubscription {
return nil
func (m *mockPreimageCache) SubscribeUpdates(
chanID lnwire.ShortChannelID, htlc *channeldb.HTLC,
payload *hop.Payload,
nextHopOnionBlob []byte) (*contractcourt.WitnessSubscription, error) {
return nil, nil
}
type mockFeeEstimator struct {