mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-22 06:14:38 +00:00
get tests passing
This commit is contained in:
@@ -548,8 +548,8 @@ impl<E: EthSpec> Eth1ChainBackend<E> for CachingEth1Backend<E> {
|
||||
|
||||
// [New in Electra:EIP6110]
|
||||
let deposit_index_limit =
|
||||
if let Ok(deposit_receipts_start_index) = state.deposit_requests_start_index() {
|
||||
std::cmp::min(deposit_count, deposit_receipts_start_index)
|
||||
if let Ok(deposit_requests_start_index) = state.deposit_requests_start_index() {
|
||||
std::cmp::min(deposit_count, deposit_requests_start_index)
|
||||
} else {
|
||||
deposit_count
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user