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
Note, that generally the high level API of libsecp256k1 Doesn't support points at infinity, because those aren't valid public keys and don't have any meaningful serialization
This is about the Low level API (ecmult and ecmult_const). It turns out that I was allowing infinity to be passed down to these and then panicking.
The solution is just to check for that and early exit. This is what gmax was suggesting here bitcoin-core/secp256k1#791 (I followed up suggesting it should be applied to ecmult as well).
see: https://github.com/bitcoin-core/secp256k1/pull/791/files
The text was updated successfully, but these errors were encountered: