Skip to content

Commit

Permalink
fix: audit issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrizsabin committed May 9, 2024
1 parent 5fcf54c commit 5eab553
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ public void onAcknowledgementPacket(byte[] packet, byte[] acknowledgement, Addre
*/
@External
public void onTimeoutPacket(byte[] packet, Address relayer) {
onlyIBC();
Packet packetDb = Packet.decode(packet);
refundTokens(packetDb);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import ibc.icon.score.util.StringUtil;
import ibc.ics23.commitment.types.Merkle;
import ibc.ics24.host.IBCCommitment;
import cosmos.ics23.v1.*;
import google.protobuf.*;
import tendermint.types.*;
import ibc.core.commitment.v1.*;
Expand Down

0 comments on commit 5eab553

Please sign in to comment.