minor patch to bytes formatting in capella

This commit is contained in:
Danny Ryan 2022-05-10 09:37:01 -06:00
parent 242f286f6e
commit c0a8178fff
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 1 additions and 1 deletions

View File

@ -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
)
```