From b0a9aa0a36126cbeec414f5ac659b997cf594594 Mon Sep 17 00:00:00 2001 From: Vitor Enes Date: Sat, 6 Feb 2021 20:29:08 +0100 Subject: [PATCH] Remove added assert --- relayer/src/chain/cosmos.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/relayer/src/chain/cosmos.rs b/relayer/src/chain/cosmos.rs index 74ff383fc5..fc831dfb6c 100644 --- a/relayer/src/chain/cosmos.rs +++ b/relayer/src/chain/cosmos.rs @@ -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() {