Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Sep 27, 2023
1 parent b169866 commit ab87fde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion integration_tests/contracts/contracts/TestICA.sol
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ contract TestICA {
}

function onPacketResultCallback(uint64 seq, bytes calldata ack) external payable returns (bool) {
// require(msg.sender == module_address);
// To prevent called by arbitrary user
require(msg.sender == module_address);
lastAckSeq = seq;
lastAck = ack;
acknowledgement[seq] = ack;
Expand Down

0 comments on commit ab87fde

Please sign in to comment.