Update to signature-scheme 0.5.2

This commit is contained in:
Kirk Baird
2019-02-18 10:50:40 +11:00
parent 977f3edfb6
commit 9c4a1f1d1f
12 changed files with 67 additions and 38 deletions

View File

@@ -30,7 +30,6 @@ fn extend_if_needed(hash: &mut Vec<u8>) {
/// For some signature and public key, ensure that the signature message was the public key and it
/// was signed by the secret key that corresponds to that public key.
pub fn create_proof_of_possession(keypair: &Keypair) -> Signature {
Signature::new(&ssz_encode(&keypair.pk), 0, &keypair.sk)
}