mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 21:34:46 +00:00
only increment deposit index on state for old deposit flow
This commit is contained in:
@@ -171,7 +171,9 @@ impl<E: EthSpec> Operation<E> for Deposit {
|
||||
spec: &ChainSpec,
|
||||
_: &Operations<E, Self>,
|
||||
) -> Result<(), BlockProcessingError> {
|
||||
process_deposits(state, &[self.clone()], spec)
|
||||
let res = process_deposits(state, &[self.clone()], spec);
|
||||
dbg!(serde_json::to_string(state).unwrap());
|
||||
res
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user