mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-29 17:03:24 +02:00
multi: update lightning-onion version
Update the lighting-onion dependency to include the lates changes which support route blinding.
This commit is contained in:
@@ -451,7 +451,7 @@ func (r *Route) ToSphinxPath() (*sphinx.PaymentPath, error) {
|
||||
hopData.NextAddress[:], nextHop,
|
||||
)
|
||||
|
||||
payload, err = sphinx.NewHopPayload(&hopData, nil)
|
||||
payload, err = sphinx.NewLegacyHopPayload(&hopData)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -468,8 +468,7 @@ func (r *Route) ToSphinxPath() (*sphinx.PaymentPath, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// TODO(roasbeef): make better API for NewHopPayload?
|
||||
payload, err = sphinx.NewHopPayload(nil, b.Bytes())
|
||||
payload, err = sphinx.NewTLVHopPayload(b.Bytes())
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user