mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-24 18:21:08 +00:00
cargo +nightly fmt --all (#1192)
This commit is contained in:
committed by
Bastian Köcher
parent
5842968273
commit
6396239e18
@@ -132,6 +132,7 @@ impl<'a> Validators<'a> {
|
||||
}
|
||||
|
||||
let receipts = receipts.ok_or(Error::MissingTransactionsReceipts)?;
|
||||
#[allow(clippy::question_mark)]
|
||||
if header.check_receipts_root(&receipts).is_err() {
|
||||
return Err(Error::TransactionsReceiptsMismatch)
|
||||
}
|
||||
|
||||
@@ -152,6 +152,7 @@ pub fn accept_aura_header_into_pool<S: Storage, CT: ChainTime>(
|
||||
// the heaviest, but rare operation - we do not want invalid receipts in the pool
|
||||
if let Some(receipts) = receipts {
|
||||
log::trace!(target: "runtime", "Got receipts! {:?}", receipts);
|
||||
#[allow(clippy::question_mark)]
|
||||
if header.check_receipts_root(receipts).is_err() {
|
||||
return Err(Error::TransactionsReceiptsMismatch)
|
||||
}
|
||||
|
||||
@@ -226,6 +226,7 @@ pub mod pallet {
|
||||
/// Violating rule#1 will lead to losing your `source_balance_at_this_chain` tokens.
|
||||
/// Violating other rules will lead to losing message fees for this and other transactions +
|
||||
/// losing fees for message transfer.
|
||||
#[allow(clippy::boxed_local)]
|
||||
#[pallet::weight(
|
||||
T::WeightInfo::create_swap()
|
||||
.saturating_add(T::WeightInfo::send_message_weight(
|
||||
|
||||
Reference in New Issue
Block a user