Feat sp keystore (#7826)

* delete not used VRFTranscriptValue

* specification variable naming
This commit is contained in:
honeywest
2021-01-05 19:32:35 +08:00
committed by GitHub
parent ccce3405f4
commit 6d6794ea71
2 changed files with 3 additions and 4 deletions
+3 -3
View File
@@ -96,9 +96,9 @@ pub trait CryptoStore: Send + Sync {
/// `Err` if there's some sort of weird filesystem error, but should generally be `Ok`.
async fn insert_unknown(
&self,
_key_type: KeyTypeId,
_suri: &str,
_public: &[u8]
id: KeyTypeId,
suri: &str,
public: &[u8]
) -> Result<(), ()>;
/// Find intersection between provided keys and supported keys
-1
View File
@@ -70,7 +70,6 @@ pub fn make_transcript(data: VRFTranscriptData) -> Transcript {
#[cfg(test)]
mod tests {
use super::*;
use crate::vrf::VRFTranscriptValue;
use rand::RngCore;
use rand_chacha::{
rand_core::SeedableRng,