multi: pass blinding point through to reconstruction

This commit is contained in:
Carla Kirk-Cohen committed 2024-03-27 09:38:59 -04:00
1 parent 7265e4c9b0
commit 4a93f4d8d3
4 files changed
+28 -7

No files matched your search

+3 -1
View File
@@ -4,6 +4,7 @@ import (
"context"
"io"
"github.com/btcsuite/btcd/btcec/v2"
"github.com/btcsuite/btcd/wire"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/lightningnetwork/lnd/channeldb/models"
@@ -40,7 +41,8 @@ type Registry interface {
type OnionProcessor interface {
// ReconstructHopIterator attempts to decode a valid sphinx packet from
// the passed io.Reader instance.
ReconstructHopIterator(r io.Reader, rHash []byte) (hop.Iterator, error)
ReconstructHopIterator(r io.Reader, rHash []byte,
blindingKey *btcec.PublicKey) (hop.Iterator, error)
}
// UtxoSweeper defines the sweep functions that contract court requires.