multi: update sphinx lib to latest version

This commit is contained in:
ziggie
2025-06-12 21:40:45 +02:00
parent 35102e7c35
commit fe3db6a263
3 changed files with 5 additions and 4 deletions

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 " +