mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-17 03:42:46 +00:00
Update v0.12.0 to v0.12.1 (#1259)
This commit is contained in:
@@ -84,7 +84,5 @@ pub fn process_activations<T: EthSpec>(
|
||||
///
|
||||
/// Spec v0.11.1
|
||||
pub fn eth2_genesis_time(eth1_timestamp: u64, spec: &ChainSpec) -> Result<u64, ArithError> {
|
||||
eth1_timestamp
|
||||
.safe_sub(eth1_timestamp.safe_rem(spec.min_genesis_delay)?)?
|
||||
.safe_add(2.safe_mul(spec.min_genesis_delay)?)
|
||||
eth1_timestamp.safe_add(spec.genesis_delay)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user