diff --git a/src/signer.rs b/src/signer.rs index 68657f04e1..f22a03a75f 100644 --- a/src/signer.rs +++ b/src/signer.rs @@ -31,7 +31,6 @@ use sp_runtime::{ }, traits::{ IdentifyAccount, - SignedExtension, Verify, }, }; @@ -42,10 +41,7 @@ use std::{ }; /// Extrinsic signer. -pub trait Signer> -where - <>::Extra as SignedExtension>::AdditionalSigned: Send + Sync, -{ +pub trait Signer>: Send + Sync { /// Returns the account id. fn account_id(&self) -> &T::AccountId; @@ -115,10 +111,9 @@ where T: System + 'static, T::AccountId: Into + 'static, S: Encode + 'static + Send + Sync, - E: SignedExtra + 'static, + E: SignedExtra + 'static + Send + Sync, P: Pair + 'static, P::Signature: Into + 'static, - <>::Extra as SignedExtension>::AdditionalSigned: Send + Sync, { fn account_id(&self) -> &T::AccountId { &self.account_id