Replies: 1 comment
-
@gtochim - im assuming that this was just an oversight :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When hitting SendPaymentV2 and providing an invoice in the payment_request field, the destination feature vector is decoded in zpay32/decode.go . No validation is done. However, if one doesn't provide an invoice and provides among other necessary fields, a dest_features , this vector is parsed in the router_backend via UnmarshalFeatures, which does some validation, e.g. checking that both OPT and REQ bits are not set at the same time.
Is this difference in behavior intended? For what reason?
Beta Was this translation helpful? Give feedback.
All reactions