Skip to content

Commit

Permalink
Remove added assert
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorenesduarte committed Feb 6, 2021
1 parent 3e95014 commit b0a9aa0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions relayer/src/chain/cosmos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -864,11 +864,9 @@ fn packet_from_tx_search_response(

let mut matching = Vec::new();
for e in r.tx_result.events {
assert_eq!(
e.type_str,
request.event_id.as_str(),
"packet_from_tx_search_response: unexpected event type"
);
if e.type_str != request.event_id.as_str() {
continue;
}

let res = ChannelEvents::try_from_tx(&e);
if res.is_none() {
Expand Down

0 comments on commit b0a9aa0

Please sign in to comment.