mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Rename Functions to More Closely Match Spec (#5591)
* Rename Functions to More Closely Match Spec
This commit is contained in:
@@ -5,7 +5,7 @@ use eth1::{DepositLog, Eth1Block, Service as Eth1Service};
|
||||
use slog::{debug, error, info, trace, Logger};
|
||||
use state_processing::{
|
||||
eth2_genesis_time, initialize_beacon_state_from_eth1, is_valid_genesis_state,
|
||||
per_block_processing::process_operations::process_deposit, process_activations,
|
||||
per_block_processing::process_operations::apply_deposit, process_activations,
|
||||
};
|
||||
use std::sync::{
|
||||
atomic::{AtomicU64, AtomicUsize, Ordering},
|
||||
@@ -433,7 +433,7 @@ impl Eth1GenesisService {
|
||||
// is reached _prior_ to `MIN_ACTIVE_VALIDATOR_COUNT`. I suspect this won't be the
|
||||
// case for mainnet, so we defer this optimization.
|
||||
|
||||
process_deposit(&mut state, &deposit, spec, PROOF_VERIFICATION)
|
||||
apply_deposit(&mut state, &deposit, spec, PROOF_VERIFICATION)
|
||||
.map_err(|e| format!("Error whilst processing deposit: {:?}", e))
|
||||
})?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user