multi: update sphinx lib to latest version

This commit is contained in:
ziggie committed 2025-06-13 08:47:31 +02:00
1 parent 35102e7c35
commit fe3db6a263
3 files changed
+5 -4

No files matched your search

+2 -1
View File
@@ -283,10 +283,11 @@ func buildBlindedPaymentPath(cfg *BuildBlindedPathCfg, path *candidatePath) (
}
// Encrypt the hop info.
blindedPath, err := sphinx.BuildBlindedPath(sessionKey, paymentPath)
blindedPathInfo, err := sphinx.BuildBlindedPath(sessionKey, paymentPath)
if err != nil {
return nil, err
}
blindedPath := blindedPathInfo.Path
if len(blindedPath.BlindedHops) < 1 {
return nil, fmt.Errorf("blinded path must have at least one " +