This commit is contained in:
kaichao
2021-01-05 19:55:21 +08:00
committed by GitHub
parent 6d6794ea71
commit d2eb87f5fc
6 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ where
) -> Option<Self::Claim> {
let expected_author = slot_author::<P>(slot_number, epoch_data);
expected_author.and_then(|p| {
if SyncCryptoStore::has_keys(
if SyncCryptoStore::has_keys(
&*self.keystore,
&[(p.to_raw_vec(), sp_application_crypto::key_types::AURA)],
) {