Skip to content

Commit 2d37450

Browse files
committed
guarantee ordering
1 parent 4d3331e commit 2d37450

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

crates/audit/src/types.rs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,6 @@ impl BundleEvent {
9090
}
9191

9292
pub fn generate_event_key(&self) -> String {
93-
match self {
94-
BundleEvent::BlockIncluded {
95-
bundle_id,
96-
block_hash,
97-
..
98-
} => {
99-
format!("{bundle_id}-{block_hash}")
100-
}
101-
_ => {
102-
format!("{}-{}", self.bundle_id(), Uuid::new_v4())
103-
}
104-
}
93+
self.bundle_id().to_string()
10594
}
10695
}

0 commit comments

Comments
 (0)