From d5cbd388cabe8e13bd88db2e62e7f8fe21661d6c Mon Sep 17 00:00:00 2001 From: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> Date: Wed, 25 Sep 2024 07:07:22 +1000 Subject: [PATCH] reorder fn params in same order as related fns --- cmd/soroban-cli/src/signer.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/soroban-cli/src/signer.rs b/cmd/soroban-cli/src/signer.rs index 5694337ec..a5a50168c 100644 --- a/cmd/soroban-cli/src/signer.rs +++ b/cmd/soroban-cli/src/signer.rs @@ -241,7 +241,7 @@ impl Signer { .infoln(format!("Signing transaction: {}", hex::encode(tx_hash),)); let decorated_signature = match &self.kind { SignerKind::Local(key) => key.sign_tx_hash(tx_hash)?, - SignerKind::Lab => Lab::sign_tx_env_with_lab(network, &tx_env, &self.printer)?, + SignerKind::Lab => Lab::sign_tx_env(&tx_env, network, &self.printer)?, }; let mut sigs = signatures.clone().into_vec(); sigs.push(decorated_signature); @@ -272,9 +272,9 @@ pub struct Lab; impl Lab { pub const URL: &str = "https://lab.stellar.org/transaction/cli-sign"; - pub fn sign_tx_env_with_lab( - network: &Network, + pub fn sign_tx_env( tx_env: &TransactionEnvelope, + network: &Network, printer: &crate::print::Print, ) -> Result { let passphrase = network.network_passphrase.clone();