Skip to content

Commit

Permalink
uncomment code
Browse files Browse the repository at this point in the history
  • Loading branch information
crodriguezvega committed Dec 17, 2023
1 parent 76d88e0 commit edc35f2
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tools/test-framework/src/relayer/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,16 +503,16 @@ fn assert_channel_upgrade_state<ChainA: ChainHandle, ChainB: ChainHandle>(
)));
}

// if !channel_end_a
// .value()
// .upgraded_sequence.eq(&Sequence::from(5))
// {
// return Err(Error::generic(eyre!(
// "expected channel end A upgrade sequence to be `{}`, but it is instead `{}`",
// upgrade_attrs.ordering(),
// channel_end_a.value().upgraded_sequence
// )));
// }
if !channel_end_a
.value()
.upgraded_sequence.eq(&Sequence::from(5))
{
return Err(Error::generic(eyre!(
"expected channel end A upgrade sequence to be `{}`, but it is instead `{}`",
upgrade_attrs.ordering(),
channel_end_a.value().upgraded_sequence
)));
}

if !channel_end_a
.value()
Expand Down

0 comments on commit edc35f2

Please sign in to comment.