Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Jun 13, 2024
1 parent f4a20fd commit aca3976
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/crates/stellar-rpc-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,8 @@ impl Client {
pub async fn get_transaction(&self, tx_id: &Hash) -> Result<GetTransactionResponse, Error> {
let mut oparams = ObjectParams::new();
oparams.insert("hash", tx_id)?;
let resp: GetTransactionResponseRaw = self.client().request("getTransaction", oparams).await?;
let resp: GetTransactionResponseRaw =
self.client().request("getTransaction", oparams).await?;
Ok(resp.try_into()?)
}

Expand Down

0 comments on commit aca3976

Please sign in to comment.