Switch to edition 2021 (#4976)

* Switch to edition 2021

* Reset bridges

* Fix compilation

* Fix test-runtime

* Fix malus
This commit is contained in:
Bastian Köcher
2022-02-24 11:20:58 +01:00
committed by GitHub
parent 1ea0f60a72
commit d9d53c17a1
81 changed files with 86 additions and 90 deletions
-2
View File
@@ -250,8 +250,6 @@ pub async fn sign(
key: &ValidatorId,
data: &[u8],
) -> Result<Option<ValidatorSignature>, KeystoreError> {
use std::convert::TryInto;
let signature =
CryptoStore::sign_with(&**keystore, ValidatorId::ID, &key.into(), &data).await?;