Skip to content

Commit

Permalink
fix: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal committed Jul 2, 2024
1 parent fd94b31 commit b8c7ccf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 1 addition & 3 deletions cmd/soroban-cli/src/commands/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ impl Args {
tx: &Transaction,
) -> Result<Option<Transaction>, Error> {
let network = self.get_network()?;
Ok(signer
.sign_soroban_authorizations(tx, &network)
.await?)
Ok(signer.sign_soroban_authorizations(tx, &network).await?)
}

pub fn get_network(&self) -> Result<Network, Error> {
Expand Down
5 changes: 4 additions & 1 deletion cmd/soroban-cli/src/commands/contract/invoke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,10 @@ impl NetworkRunnable for Cmd {
// let auth = auth_entries(&txn);
// crate::log::auth(&[auth]);
for signer in &signers {
if let Some(tx) = config.sign_soroban_authorizations_with_signer(signer, &txn).await? {
if let Some(tx) = config
.sign_soroban_authorizations_with_signer(signer, &txn)
.await?
{
txn = tx;
}
}
Expand Down

0 comments on commit b8c7ccf

Please sign in to comment.