Skip to content

Commit

Permalink
style: ran 'forge fmt'
Browse files Browse the repository at this point in the history
  • Loading branch information
srdtrk committed Jul 27, 2024
1 parent 502b81d commit 0487fb2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/ICS26Router.sol
Original file line number Diff line number Diff line change
Expand Up @@ -191,17 +191,16 @@ contract ICS26Router is IICS26Router, IBCStore, Ownable, IICS26RouterErrors, Ree
ILightClientMsgs.MsgMembership memory nonMembershipMsg = ILightClientMsgs.MsgMembership({
proof: msg_.proofTimeout,
proofHeight: msg_.proofHeight,
kvPair: ILightClientMsgs.KVPair({ path: receiptPath, value: bytes('') })
kvPair: ILightClientMsgs.KVPair({ path: receiptPath, value: bytes("") })
});

uint32 counterpartyTimestamp = ics02Client.getClient(msg_.packet.sourceChannel).verifyMembership(nonMembershipMsg);
uint32 counterpartyTimestamp =
ics02Client.getClient(msg_.packet.sourceChannel).verifyMembership(nonMembershipMsg);
if (counterpartyTimestamp < msg_.packet.timeoutTimestamp) {
revert IBCInvalidTimeoutTimestamp(msg_.packet.timeoutTimestamp, counterpartyTimestamp);
}

app.onTimeoutPacket(
IIBCAppCallbacks.OnTimeoutPacketCallback({ packet: msg_.packet, relayer: msg.sender })
);
app.onTimeoutPacket(IIBCAppCallbacks.OnTimeoutPacketCallback({ packet: msg_.packet, relayer: msg.sender }));

emit TimeoutPacket(msg_.packet);
}
Expand Down

0 comments on commit 0487fb2

Please sign in to comment.