mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-20 15:38:55 +00:00
Merge pull request #2890 from ethereum/format
minor patch to bytes formatting in capella
This commit is contained in:
commit
8abf2393d0
@ -422,7 +422,7 @@ def process_bls_to_execution_change(state: BeaconState,
|
||||
|
||||
validator.withdrawal_credentials = (
|
||||
ETH1_ADDRESS_WITHDRAWAL_PREFIX
|
||||
+ (0x00).to_bytes(11, 'little')
|
||||
+ b'\x00' * 11
|
||||
+ address_change.to_execution_address
|
||||
)
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user