fix clippy issues (#1332)

This commit is contained in:
Svyatoslav Nikolsky
2022-03-01 17:26:02 +03:00
committed by Bastian Köcher
parent e656e0089e
commit bc1dcb7548
7 changed files with 13 additions and 12 deletions
+3 -4
View File
@@ -346,11 +346,10 @@ where
// we shall not ever see this error in relay, because we are never signing decoded
// transactions. Instead we're constructing and signing new transactions. So the error code
// is kinda random here
self.additional_signed.ok_or_else(|| {
frame_support::unsigned::TransactionValidityError::Unknown(
self.additional_signed
.ok_or(frame_support::unsigned::TransactionValidityError::Unknown(
frame_support::unsigned::UnknownTransaction::Custom(0xFF),
)
})
))
}
fn pre_dispatch(