Skip to content

Commit

Permalink
restrict sign_with_address_and_signature interface (#988)
Browse files Browse the repository at this point in the history
  • Loading branch information
tadeohepperle authored May 30, 2023
1 parent 80d69ab commit 1ddae68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subxt/src/tx/tx_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<S: Encode>(
pub fn sign_with_address_and_signature(
&self,
address: &T::Address,
signature: &S,
signature: &T::Signature,
) -> SubmittableExtrinsic<T, C> {
// Encode the extrinsic (into the format expected by protocol version 4)
let extrinsic = {
Expand Down

0 comments on commit 1ddae68

Please # to comment.