Skip to content

Commit

Permalink
Fixes after merging main
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabethengelman committed Oct 3, 2024
1 parent 479687c commit 9ecb45f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/contract/deploy/asset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use crate::{
NetworkRunnable,
},
config::{self, data, network},
rpc::{Client, Error as SorobanRpcError},
rpc::Error as SorobanRpcError,
rpc_client::{Error as RpcClientError, RpcClient},
tx::builder,
utils::contract_id_hash_from_asset,
Expand Down
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/contract/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use crate::{
config::{self, data, network},
key,
print::Print,
rpc::{self, Client},
rpc,
rpc_client::{Error as RpcClientError, RpcClient},
tx::builder::{self, TxExt},
utils, wasm,
Expand Down
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ impl Args {

pub async fn next_sequence_number(&self, account_str: &str) -> Result<SequenceNumber, Error> {
let network = self.get_network()?;
let client = Client::new(&network.rpc_url)?;
let client = RpcClient::new(&network)?;
Ok((client.get_account(account_str).await?.seq_num.0 + 1).into())
}
}
Expand Down

0 comments on commit 9ecb45f

Please sign in to comment.