For pubkey type hinting, use bytes for now.

This commit is contained in:
Hsiao-Wei Wang
2019-01-17 17:00:39 +08:00
parent 0b10b0444a
commit 725199593b

View File

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