Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
haiyizxx committed Nov 14, 2024
1 parent 9cf63f7 commit 02bde0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ampd/src/stellar/rpc_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl From<(Hash, GetTransactionResponse)> for TxResponse {
TransactionMeta::V3(data) => data.soroban_meta.map(|meta| meta.events),
_ => None,
})
.unwrap_or_else(VecM::default);
.unwrap_or_default();

Self {
transaction_hash: transaction_hash.to_string(),
Expand Down

0 comments on commit 02bde0f

Please sign in to comment.