Clean up Ed25519 example

This commit is contained in:
Henry de Valence 2020-06-16 13:56:48 -07:00
parent b299fb7162
commit a40b1a787b
1 changed files with 0 additions and 14 deletions

View File

@ -1,5 +1,4 @@
use std::{
convert::TryFrom,
future::Future,
pin::Pin,
sync::Once,
@ -129,19 +128,6 @@ where
}
}
/*
#[tokio::test]
async fn individual_verification_with_service_fn() {
let verifier = tower::service_fn(|item: Ed25519Item| {
// now this is actually impossible to write, oops
let result = VerificationKey::try_from(vk_bytes).and_then(|vk| vk.verify(&sig, msg));
async move { result }
});
sign_and_verify(verifier, 100).await;
}
*/
#[tokio::test]
async fn batch_flushes_on_max_items() {
use tokio::time::timeout;