Skip to content

Commit

Permalink
chore: remove an unnecessary event copy (#1818)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Jul 20, 2023
1 parent 124f444 commit 949f094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fvm/src/call_manager/default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ impl EventsAccumulator {
let root = Amt::new_from_iter_with_bit_width(
DiscardBlockstore,
EVENTS_AMT_BITWIDTH,
self.events.iter().cloned(),
self.events.iter(),
)
.context("failed to construct events AMT")
.or_fatal()?;
Expand Down

0 comments on commit 949f094

Please sign in to comment.