We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b09f25 commit 588ef2aCopy full SHA for 588ef2a
crates/evm/core/src/state_snapshot.rs
@@ -60,9 +60,8 @@ impl<T> StateSnapshots<T> {
60
/// Inserts the new state snapshot at the given `id`.
61
///
62
/// Does not auto-increment the next `id`.
63
- pub fn insert_at(&mut self, state_snapshot: T, id: U256) -> U256 {
+ pub fn insert_at(&mut self, state_snapshot: T, id: U256) {
64
self.state_snapshots.insert(id, state_snapshot);
65
- id
66
}
67
68
0 commit comments