We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9961bcf commit 0f5773fCopy full SHA for 0f5773f
pallets/transaction-storage/src/lib.rs
@@ -405,7 +405,7 @@ pub mod pallet {
405
return Err(Error::<T>::TooManyTransactions);
406
}
407
let chunks = num_chunks(info.size);
408
- let total_chunks = TransactionInfo::total_chunks(&transactions) + chunks;
+ let total_chunks = TransactionInfo::total_chunks(transactions) + chunks;
409
index = transactions.len() as u32;
410
transactions
411
.try_push(TransactionInfo {
0 commit comments