mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-29 17:18:08 -05:00
fix(execution): poststate extension (#1929)
This commit is contained in:
@@ -269,6 +269,10 @@ impl PostState {
|
||||
|
||||
/// Extend this [PostState] with the changes in another [PostState].
|
||||
pub fn extend(&mut self, other: PostState) {
|
||||
if other.changes.is_empty() {
|
||||
return
|
||||
}
|
||||
|
||||
self.changes.reserve(other.changes.len());
|
||||
|
||||
let mut next_transition_id = self.current_transition_id;
|
||||
|
||||
Reference in New Issue
Block a user