cargo +nightly fmt --all (#1192)

This commit is contained in:
Svyatoslav Nikolsky
2021-10-25 12:08:14 +03:00
committed by Bastian Köcher
parent 5842968273
commit 6396239e18
12 changed files with 30 additions and 29 deletions
@@ -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)
}