multi: Fix final hop payload size for AMP payments.

This commit is contained in:
ziggie committed 2024-02-03 12:16:06 +00:00
1 parent ff30ff40bf
commit 4732c09a26
7 files changed
+44 -1

No files matched your search

+1 -1
View File
@@ -628,7 +628,7 @@ func (p *paymentLifecycle) createNewPaymentAttempt(rt *route.Route,
return nil, err
}
// It this shard carries MPP or AMP options, add them to the last hop
// If this shard carries MPP or AMP options, add them to the last hop
// on the route.
hop := rt.Hops[len(rt.Hops)-1]
if shard.MPP() != nil {