`proof_of_possession: Signature`

This commit is contained in:
Hsiao-Wei Wang 2019-01-17 17:03:20 +08:00
parent 725199593b
commit 713af88c43
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4
1 changed files with 2 additions and 2 deletions

View File

@ -1293,7 +1293,7 @@ First, a helper function:
```python
def validate_proof_of_possession(state: BeaconState,
pubkey: bytes,
proof_of_possession: bytes,
proof_of_possession: Signature,
withdrawal_credentials: Bytes32,
randao_commitment: Bytes32,
custody_commitment: Bytes32) -> bool:
@ -1323,7 +1323,7 @@ Now, to add a [validator](#dfn-validator) or top up an existing [validator](#dfn
def process_deposit(state: BeaconState,
pubkey: bytes,
amount: int,
proof_of_possession: bytes,
proof_of_possession: Signature,
withdrawal_credentials: Bytes32,
randao_commitment: Bytes32,
custody_commitment: Bytes32) -> None: