Skip to content

Commit 66a47d2

Browse files
pscottbkchrkianenigma
authored
Improve overall performance (#6699)
* Improve overall performance * Clean up code Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Remove needless :: Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Remove needless :: Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
1 parent 18927c4 commit 66a47d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarking/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ benchmarks! {
257257
.flat_map(|reporter| vec![
258258
frame_system::Event::<T>::NewAccount(reporter.clone()).into(),
259259
<T as BalancesTrait>::Event::from(
260-
pallet_balances::Event::<T>::Endowed(reporter.clone(), (reward_amount / r).into())
260+
pallet_balances::Event::<T>::Endowed(reporter, (reward_amount / r).into())
261261
).into()
262262
]);
263263

0 commit comments

Comments
 (0)