TODO added for deposit signature validation
This commit is contained in:
parent
9d57f72c9a
commit
246584f1a5
@ -17,6 +17,7 @@ pub fn process_deposit(
|
||||
let deposit_input = &deposit.deposit_data.deposit_input;
|
||||
let deposit_data = &deposit.deposit_data;
|
||||
|
||||
// TODO: Update the signature validation as defined in the spec once issues #91 and #70 are completed
|
||||
if !verify_proof_of_possession(&deposit_input.proof_of_possession, &deposit_input.pubkey) {
|
||||
return Err(ValidatorInductionError::InvaidProofOfPossession);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user