Skip to content

Commit

Permalink
fix: don't clear events buffer on wsv clone
Browse files Browse the repository at this point in the history
Signed-off-by: Marin Veršić <[email protected]>
  • Loading branch information
mversic committed May 20, 2024
1 parent 9dc9b23 commit be08cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/wsv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ impl Clone for WorldStateView {
config: self.config,
block_hashes: self.block_hashes.clone(),
transactions: self.transactions.clone(),
events_buffer: Vec::new(),
events_buffer: self.events_buffer.clone(),
new_tx_amounts: Arc::clone(&self.new_tx_amounts),
engine: self.engine.clone(),
kura: Arc::clone(&self.kura),
Expand Down

0 comments on commit be08cc8

Please sign in to comment.