From e3e30cf7bb53c51b13b629c45fa9b3cec21bb8d2 Mon Sep 17 00:00:00 2001 From: "Demi M. Obenour" Date: Thu, 28 May 2020 20:50:20 -0400 Subject: [PATCH] Trait cleanups --- src/signer.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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