htlcswitch: add blinding point to sphinx iterator for decoding

This commit is contained in:
Carla Kirk-Cohen
2024-04-02 10:56:08 -04:00
parent da76d05fa5
commit 1e6fae37f7
4 changed files with 54 additions and 26 deletions

View File

@@ -6,7 +6,6 @@ import (
"io/ioutil"
"testing"
"github.com/btcsuite/btcd/btcec/v2"
sphinx "github.com/lightningnetwork/lightning-onion"
"github.com/lightningnetwork/lnd/chainntnfs"
"github.com/lightningnetwork/lnd/channeldb"
@@ -290,7 +289,7 @@ type mockOnionProcessor struct {
}
func (o *mockOnionProcessor) ReconstructHopIterator(r io.Reader, rHash []byte,
blindingPoint *btcec.PublicKey) (hop.Iterator, error) {
_ hop.ReconstructBlindingInfo) (hop.Iterator, error) {
data, err := ioutil.ReadAll(r)
if err != nil {