diff --git a/src/extrinsic/signer.rs b/src/extrinsic/signer.rs index efda6578d6fc0..d5e5d2145fa69 100644 --- a/src/extrinsic/signer.rs +++ b/src/extrinsic/signer.rs @@ -50,7 +50,7 @@ pub trait Signer { fn sign( &self, extrinsic: SignedPayload, - ) -> Pin, String>> + Send + Sync>>; + ) -> Pin, String>> + Send>>; } /// Extrinsic signer using a private key. @@ -100,8 +100,7 @@ impl Signer for PairSigner where T: Runtime, T::AccountId: Into + 'static, - <>::Extra as SignedExtension>::AdditionalSigned: - Send + Sync, + <>::Extra as SignedExtension>::AdditionalSigned: Send, P: Pair + 'static, P::Signature: Into + 'static, { @@ -116,8 +115,7 @@ where fn sign( &self, extrinsic: SignedPayload, - ) -> Pin, String>> + Send + Sync>> - { + ) -> Pin, String>> + Send>> { let signature = extrinsic.using_encoded(|payload| self.signer.sign(payload)); let (call, extra, _) = extrinsic.deconstruct(); let extrinsic = UncheckedExtrinsic::::new_signed(