Merge pull request #9884 from ellemouton/relaxFeatureBitCheck
multi: use relaxed feature bit `Set` method for peer features
This commit is contained in:
5 files changed
+41
-30
No files matched your search
+1
-4
@@ -5827,12 +5827,9 @@ func (r *rpcServer) extractPaymentIntent(rpcPayReq *rpcPaymentRequest) (rpcPayme
|
||||
}
|
||||
|
||||
// Unmarshal any custom destination features.
|
||||
payIntent.destFeatures, err = routerrpc.UnmarshalFeatures(
|
||||
payIntent.destFeatures = routerrpc.UnmarshalFeatures(
|
||||
rpcPayReq.DestFeatures,
|
||||
)
|
||||
if err != nil {
|
||||
return payIntent, err
|
||||
}
|
||||
|
||||
return payIntent, nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user