Skip to content

Commit

Permalink
Logs custom CosmTxResponse instead of rax TxResponse (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kayanski authored Apr 9, 2024
1 parent 1300da0 commit ab461e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cw-orch-daemon/src/queriers/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ impl Node {
for _ in 0..retries {
match client.get_tx(request.clone()).await {
Ok(tx) => {
let resp = tx.into_inner().tx_response.unwrap();
let resp = tx.into_inner().tx_response.unwrap().into();
log::debug!(target: &query_target(), "TX found: {:?}", resp);
return Ok(resp.into());
return Ok(resp);
}
Err(err) => {
// increase wait time
Expand Down

0 comments on commit ab461e6

Please sign in to comment.