mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 18:21:45 +00:00
Reorg events (#2090)
## Issue Addressed Resolves #2088 ## Proposed Changes Add the `chain_reorg` SSE event topic ## Additional Info Co-authored-by: realbigsean <seananderson33@gmail.com> Co-authored-by: Paul Hauner <paul@paulhauner.com>
This commit is contained in:
@@ -55,7 +55,7 @@ fn cache_state<T: EthSpec>(
|
||||
// Note: increment the state slot here to allow use of our `state_root` and `block_root`
|
||||
// getter/setter functions.
|
||||
//
|
||||
// This is a bit hacky, however it gets the job safely without lots of code.
|
||||
// This is a bit hacky, however it gets the job done safely without lots of code.
|
||||
let previous_slot = state.slot;
|
||||
state.slot.safe_add_assign(1)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user