mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 22:50:58 +02:00
contractcourt: add onchain interception
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user