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
It would be nice to have SecretKey::sing directly use an array [u8; 32] instead of slice &[u8]. This would improve the api since the message should always be 32 bytes.
The text was updated successfully, but these errors were encountered:
elpiel
changed the title
ScretKey::sing returned error
ScretKey::sing & Signature::recover returned error
Jun 17, 2022
Since https://docs.rs/ethsign/latest/ethsign/struct.SecretKey.html#method.sign returns the
secp256k1
can we consider exporting the error or just use theethsign::Error
instead?It would be nice to have
SecretKey::sing
directly use an array[u8; 32]
instead of slice&[u8]
. This would improve the api since the message should always be 32 bytes.The text was updated successfully, but these errors were encountered: