Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sug0 authored and james-chf committed Nov 3, 2022
1 parent 8926a0f commit bc7f6db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/src/lib/client/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1458,6 +1458,7 @@ pub async fn query_tx_events(
}

/// Lookup the full response accompanying the specified transaction event
// TODO: maybe remove this in favor of `query_tx_status`
pub async fn query_tx_response(
ledger_address: &TendermintAddress,
tx_query: TxEventQuery<'_>,
Expand Down
4 changes: 2 additions & 2 deletions shared/src/ledger/queries/shell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ router! {SHELL,
-> bool = storage_has_key,

// was the transaction accepted?
( "accepted" / [tx_hash: Hash]) -> Vec<Event> = accepted,
( "accepted" / [tx_hash: Hash]) -> Option<Event> = accepted,

// was the transaction applied?
( "applied" / [tx_hash: Hash]) -> Vec<Event> = applied,
( "applied" / [tx_hash: Hash]) -> Option<Event> = applied,
}

// Handlers:
Expand Down

0 comments on commit bc7f6db

Please sign in to comment.