Skip to content

Commit

Permalink
make fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Ryo Sato <[email protected]>
  • Loading branch information
3100 committed Sep 3, 2024
1 parent 20ba13e commit 8d15fcb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contracts/core/04-channel/IBCChannelPacketSendRecv.sol
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,9 @@ contract IBCChannelPacketSendRecv is
ChannelStorage storage channelStorage =
getChannelStorage()[msg_.packet.destinationPort][msg_.packet.destinationChannel];
Channel.Data storage channel = channelStorage.channel;
if (channel.state == Channel.State.STATE_OPEN) {}
else if (channel.state == Channel.State.STATE_FLUSHING || channel.state == Channel.State.STATE_FLUSHCOMPLETE) {
if (channel.state == Channel.State.STATE_OPEN) {} else if (
channel.state == Channel.State.STATE_FLUSHING || channel.state == Channel.State.STATE_FLUSHCOMPLETE
) {
RecvStartSequence storage rseq = channelStorage.recvStartSequence;
// prevSequence=0 means the channel is not in the process of being upgraded or counterparty has not been upgraded yet
if (rseq.prevSequence != 0) {
Expand Down

0 comments on commit 8d15fcb

Please sign in to comment.