File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import {Packet} from "../../core/04-channel/IIBCChannel.sol";
7
7
import {IIBCModule} from "../../core/26-router/IIBCModule.sol " ;
8
8
import {IIBCModuleErrors} from "../../core/26-router/IIBCModuleErrors.sol " ;
9
9
10
- abstract contract AppBase is IERC165 , Context , IIBCModuleErrors {
10
+ abstract contract AppBase is Context , IERC165 , IIBCModuleErrors {
11
11
/**
12
12
* @dev Throws if called by any account other than the IBC contract.
13
13
*/
Original file line number Diff line number Diff line change @@ -110,8 +110,9 @@ contract IBCChannelPacketSendRecv is
110
110
ChannelStorage storage channelStorage =
111
111
getChannelStorage ()[msg_.packet.destinationPort][msg_.packet.destinationChannel];
112
112
Channel.Data storage channel = channelStorage.channel;
113
- if (channel.state == Channel.State.STATE_OPEN) {}
114
- else if (channel.state == Channel.State.STATE_FLUSHING || channel.state == Channel.State.STATE_FLUSHCOMPLETE) {
113
+ if (channel.state == Channel.State.STATE_OPEN) {} else if (
114
+ channel.state == Channel.State.STATE_FLUSHING || channel.state == Channel.State.STATE_FLUSHCOMPLETE
115
+ ) {
115
116
RecvStartSequence storage rseq = channelStorage.recvStartSequence;
116
117
// prevSequence=0 means the channel is not in the process of being upgraded or counterparty has not been upgraded yet
117
118
if (rseq.prevSequence != 0 ) {
You can’t perform that action at this time.
0 commit comments