Skip to content

Commit

Permalink
reorder fn params in same order as related fns
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Sep 24, 2024
1 parent 5b0c841 commit d5cbd38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/soroban-cli/src/signer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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<DecoratedSignature, Error> {
let passphrase = network.network_passphrase.clone();
Expand Down

0 comments on commit d5cbd38

Please sign in to comment.