Merge pull request #61 from nicokoch/fix_53
Update previous state during compensation.
This commit is contained in:
commit
7b67bfe4e2
1 changed files with 1 additions and 0 deletions
|
@ -497,6 +497,7 @@ impl<'a> Iterator for FetchEventsSynced<'a> {
|
|||
// first: check if we need to emit compensatory events due to a SYN_DROPPED we found in the
|
||||
// last batch of blocks
|
||||
if let Some(ev) = compensate_events(&mut self.sync, &mut self.dev) {
|
||||
self.dev.prev_state.process_event(ev);
|
||||
return Some(ev);
|
||||
}
|
||||
let state = &mut self.dev.state;
|
||||
|
|
Loading…
Reference in a new issue