You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can see, the signature is not verified by the constructor. Why not call VerifySignature iff ExplicitPayeePubKey != null and throw an exception if the signature does not match explicit pubkey?
Alternatively, the signature could also be verified in Parse/TryParse.
The text was updated successfully, but these errors were encountered:
This is because of performance. Imagine you deserialize 1000th payment requests. Checking the signatures can be the difference between 100 ms and 10 seconds.
As far as I can see, the signature is not verified by the constructor. Why not call
VerifySignature
iffExplicitPayeePubKey != null
and throw an exception if the signature does not match explicit pubkey?Alternatively, the signature could also be verified in
Parse
/TryParse
.The text was updated successfully, but these errors were encountered: