mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 15:41:02 +00:00
Switch to edition 2021 (#4976)
* Switch to edition 2021 * Reset bridges * Fix compilation * Fix test-runtime * Fix malus
This commit is contained in:
@@ -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?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user