pubkey: Bytes48
This commit is contained in:
parent
ba7bc29ce9
commit
18b97cf922
|
@ -1303,7 +1303,7 @@ First, a helper function:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
def validate_proof_of_possession(state: BeaconState,
|
def validate_proof_of_possession(state: BeaconState,
|
||||||
pubkey: bytes,
|
pubkey: Bytes48,
|
||||||
proof_of_possession: Signature,
|
proof_of_possession: Signature,
|
||||||
withdrawal_credentials: Bytes32,
|
withdrawal_credentials: Bytes32,
|
||||||
randao_commitment: Bytes32,
|
randao_commitment: Bytes32,
|
||||||
|
@ -1332,7 +1332,7 @@ Now, to add a [validator](#dfn-validator) or top up an existing [validator](#dfn
|
||||||
|
|
||||||
```python
|
```python
|
||||||
def process_deposit(state: BeaconState,
|
def process_deposit(state: BeaconState,
|
||||||
pubkey: bytes,
|
pubkey: Bytes48,
|
||||||
amount: int,
|
amount: int,
|
||||||
proof_of_possession: Signature,
|
proof_of_possession: Signature,
|
||||||
withdrawal_credentials: Bytes32,
|
withdrawal_credentials: Bytes32,
|
||||||
|
|
Loading…
Reference in New Issue