mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 10:22:38 +00:00
Filter out BlsToExecutionChange messages for 0x02 validators (#6464)
* Filter out 0x02 validators from `get_bls_to_execution_changes` * Prune bls to execution changes that have a 0x02 credential * lint
This commit is contained in:
@@ -113,7 +113,7 @@ impl<E: EthSpec> BlsToExecutionChanges<E> {
|
||||
.validators()
|
||||
.get(validator_index as usize)
|
||||
.map_or(true, |validator| {
|
||||
let prune = validator.has_eth1_withdrawal_credential(spec)
|
||||
let prune = validator.has_execution_withdrawal_credential(spec)
|
||||
&& head_block
|
||||
.message()
|
||||
.body()
|
||||
|
||||
Reference in New Issue
Block a user