Skip to content

Commit

Permalink
fix: use signer with source account
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal committed Jul 29, 2024
1 parent e6a77aa commit 75250a2
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions cmd/soroban-cli/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,9 @@ impl Args {
}

pub async fn sign(&self, tx: Transaction) -> Result<TransactionEnvelope, Error> {
Ok(self.sign_with.sign_txn(tx).await?)
}

pub async fn sign_soroban_authorizations(
&self,
tx: &Transaction,
ledgers_from_current: u32,
) -> Result<Option<Transaction>, Error> {
Ok(self
.sign_with
.sign_soroban_authorizations(tx, ledgers_from_current)
.sign_tx_env_with_signer(&self.signer()?, tx.into())
.await?)
}

Expand Down

0 comments on commit 75250a2

Please sign in to comment.