Skip to content

Commit 2c7ab85

Browse files
Fix clippy
1 parent b355dd1 commit 2c7ab85

File tree

1 file changed

+1
-1
lines changed
  • pallets/transaction-storage/src

1 file changed

+1
-1
lines changed

pallets/transaction-storage/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ pub mod pallet {
353353
if transactions.len() + 1 > T::MaxBlockTransactions::get() as usize {
354354
return Err(Error::<T>::TooManyTransactions);
355355
}
356-
let total_chunks = TransactionInfo::total_chunks(&transactions) + chunk_count;
356+
let total_chunks = TransactionInfo::total_chunks(transactions) + chunk_count;
357357
index = transactions.len() as u32;
358358
transactions
359359
.try_push(TransactionInfo {

0 commit comments

Comments
 (0)