Use cargo fmt for zksync-crypto
@@ -78,7 +78,9 @@ fn read_signing_key(private_key: &[u8]) -> Result<PrivateKey<Engine>, JsValue> {
fs_repr
.read_be(private_key)
.map_err(|_| JsValue::from_str("couldn't read private key repr"))?;
- Ok(PrivateKey::<Engine>(Fs::from_repr(fs_repr).expect("couldn't read private key from repr")))
+ Ok(PrivateKey::<Engine>(
+ Fs::from_repr(fs_repr).expect("couldn't read private key from repr"),
+ ))
}
fn privkey_to_pubkey_internal(private_key: &[u8]) -> Result<PublicKey<Engine>, JsValue> {
