From 0d8b3a2997b4b2cd6929bddc0056e1a96d2a3334 Mon Sep 17 00:00:00 2001 From: Tadeo hepperle Date: Tue, 30 May 2023 18:03:26 +0200 Subject: [PATCH] restrict sign_with_address_and_signature interface --- subxt/src/tx/tx_client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subxt/src/tx/tx_client.rs b/subxt/src/tx/tx_client.rs index a47f891142..87ac93ad08 100644 --- a/subxt/src/tx/tx_client.rs +++ b/subxt/src/tx/tx_client.rs @@ -357,10 +357,10 @@ where /// An address, and something representing a signature that can be SCALE encoded, are both /// needed in order to construct it. If you have a `Signer` to hand, you can use /// [`PartialExtrinsic::sign()`] instead. - pub fn sign_with_address_and_signature( + pub fn sign_with_address_and_signature( &self, address: &T::Address, - signature: &S, + signature: &T::Signature, ) -> SubmittableExtrinsic { // Encode the extrinsic (into the format expected by protocol version 4) let extrinsic = {