Skip to content

Commit

Permalink
Fix ChanOpenConfirm check of counterparty state (#354)
Browse files Browse the repository at this point in the history
* fix

* changelog
  • Loading branch information
plafer authored Jan 13, 2023
1 parent 3ed2246 commit a2a52b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix ChanOpenConfirm handler check of counterparty state
([#353](https://github.com/cosmos/ibc-rs/issues/353))
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pub(crate) fn process<Ctx: ChannelReader>(
}

let expected_chan_end_on_a = ChannelEnd::new(
State::Init,
State::Open,
*chan_end_on_b.ordering(),
Counterparty::new(msg.port_id_on_b.clone(), None),
vec![conn_id_on_a.clone()],
Expand Down

0 comments on commit a2a52b7

Please sign in to comment.