Skip to content

Commit

Permalink
fix: update rpc dep
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal committed Oct 8, 2024
1 parent c4f1033 commit 487ae2a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ path = "cmd/soroban-cli"
package = "stellar-rpc-client"
version = "22.0.0-rc.1"
git = "https://github.com/stellar/rs-stellar-rpc-client"
rev = "932b52c4df92c0a1237420d86ff7bdf51f9ac21a"
rev = "76b6bc942a1ca7c5e0cbfa5fe4e7c541a2a72cf3"

[workspace.dependencies.stellar-xdr]
version = "=22.0.0-rc.1.1"
Expand Down
3 changes: 2 additions & 1 deletion cmd/soroban-cli/src/config/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,13 @@ impl TryFrom<GetTransactionResponse> for Action {
diff: if let Some(soroban_rpc::TransactionInfoDiff::Protocol22 {
transaction_hash,
fee_bump,
ledger_close_time,
}) = res.transaction_info.diff
{
Some(soroban_rpc::TransactionInfoDiffRaw::Protocol22 {
transaction_hash: transaction_hash.as_ref().map(ToString::to_string),
fee_bump,
ledger_close_time,
})
} else {
None
Expand All @@ -205,7 +207,6 @@ impl TryFrom<GetTransactionResponse> for Action {
.map(to_xdr)
.collect::<Result<Vec<_>, _>>()?,
ledger: res.transaction_info.ledger,
ledger_close_time: res.transaction_info.ledger_close_time,
},
latest_ledger_close_time: res.latest_ledger_close_time,
oldest_ledger: res.oldest_ledger,
Expand Down

0 comments on commit 487ae2a

Please sign in to comment.