speed up test teardown by now waiting for threads to finish ...

and remove a debug statement
This commit is contained in:
holger krekel
2019-07-05 23:12:11 +02:00
parent 3d7be47adf
commit 2aa81a7a9a
3 changed files with 4 additions and 5 deletions

View File

@@ -90,7 +90,6 @@ impl Key {
}
pub fn from_slice(bytes: &[u8], key_type: KeyType) -> Option<Self> {
println!("hello from_slice");
let res: Result<Key, _> = match key_type {
KeyType::Public => SignedPublicKey::from_bytes(Cursor::new(bytes)).map(Into::into),
KeyType::Private => SignedSecretKey::from_bytes(Cursor::new(bytes)).map(Into::into),