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
let default_secret_key = SecretKey::default();let message = Message::from_bytes([0;32]);// panics with:// SecretKey is guaranteed to be valid: ErrorSignature::sign(&default_secret_key,&message);
The text was updated successfully, but these errors were encountered:
you should use the random feature of fuel-vm and instead use SecretKey::random() to generate an arbitrary secret key. If you wish for some determinism, then perhaps try using a non-zero static key :)
Reproduction
The text was updated successfully, but these errors were encountered: