mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-15 02:42:38 +00:00
Fix per_epoch_processing so it compiles again
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#![cfg(test)]
|
||||
use crate::EpochProcessable;
|
||||
use crate::per_epoch_processing;
|
||||
use env_logger::{Builder, Env};
|
||||
use types::beacon_state::BeaconStateBuilder;
|
||||
use types::*;
|
||||
@@ -17,5 +17,5 @@ fn runs_without_error() {
|
||||
let mut state = builder.cloned_state();
|
||||
|
||||
let spec = &builder.spec;
|
||||
state.per_epoch_processing(spec).unwrap();
|
||||
per_epoch_processing(&mut state, spec).unwrap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user