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

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