Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
fix tracker repeat writes (#9653)
Browse files Browse the repository at this point in the history
  • Loading branch information
gui1117 authored Aug 31, 2021
1 parent b6e8afc commit 0931571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/db/src/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ impl<B: BlockT> StateBackend<HashFor<B>> for BenchmarkingState<B> {

if tracker.writes > 0 {
writes += 1;
repeat_writes += tracker.reads - 1;
repeat_writes += tracker.writes - 1;
}
}
});
Expand Down

0 comments on commit 0931571

Please sign in to comment.