Skip to content

Commit f897a27

Browse files
committed
fix: only save mark and set snapshots
1 parent f5d1745 commit f897a27

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

modules/block_vrf_validator/src/state.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,11 @@ use tracing::error;
2121
pub struct EpochSnapshots {
2222
pub mark: Arc<Snapshot>,
2323
pub set: Arc<Snapshot>,
24-
pub go: Arc<Snapshot>,
2524
}
2625

2726
impl EpochSnapshots {
2827
/// Push a new snapshot
2928
pub fn push(&mut self, latest: Snapshot) {
30-
self.go = self.set.clone();
3129
self.set = self.mark.clone();
3230
self.mark = Arc::new(latest);
3331
}

0 commit comments

Comments
 (0)