Skip to content
This repository was archived by the owner on Jul 4, 2022. It is now read-only.

Commit 4dcde7e

Browse files
authored
Feat sp keystore (#7826)
* delete not used VRFTranscriptValue * specification variable naming
1 parent 80d7559 commit 4dcde7e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

primitives/keystore/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ pub trait CryptoStore: Send + Sync {
9696
/// `Err` if there's some sort of weird filesystem error, but should generally be `Ok`.
9797
async fn insert_unknown(
9898
&self,
99-
_key_type: KeyTypeId,
100-
_suri: &str,
101-
_public: &[u8]
99+
id: KeyTypeId,
100+
suri: &str,
101+
public: &[u8]
102102
) -> Result<(), ()>;
103103

104104
/// Find intersection between provided keys and supported keys

primitives/keystore/src/vrf.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ pub fn make_transcript(data: VRFTranscriptData) -> Transcript {
7070
#[cfg(test)]
7171
mod tests {
7272
use super::*;
73-
use crate::vrf::VRFTranscriptValue;
7473
use rand::RngCore;
7574
use rand_chacha::{
7675
rand_core::SeedableRng,

0 commit comments

Comments
 (0)