fix tracker repeat writes (#9653)

This commit is contained in:
Guillaume Thiolliere
2021-08-31 14:41:44 +02:00
committed by GitHub
parent 2fa683da0e
commit 6c8946ae21
+1 -1
View File
@@ -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;
}
}
});