Run cargo fmt

This commit is contained in:
Kirk Baird
2019-03-11 15:22:15 +11:00
parent 2b991854ab
commit 25b08f0096
8 changed files with 73 additions and 51 deletions

View File

@@ -29,7 +29,6 @@ pub fn verify_proof_of_possession(sig: &Signature, pubkey: &PublicKey) -> bool {
sig.verify(&ssz_encode(pubkey), 0, &pubkey)
}
/// Returns the withdrawal credentials for a given public key.
pub fn get_withdrawal_credentials(pubkey: &PublicKey, prefix_byte: u8) -> Vec<u8> {
let hashed = hash(&ssz_encode(pubkey));