diff --git a/contracts/javascore/ibc/src/main/java/ibc/ics04/channel/IBCPacket.java b/contracts/javascore/ibc/src/main/java/ibc/ics04/channel/IBCPacket.java index 3853c845e..e55f65fdc 100644 --- a/contracts/javascore/ibc/src/main/java/ibc/ics04/channel/IBCPacket.java +++ b/contracts/javascore/ibc/src/main/java/ibc/ics04/channel/IBCPacket.java @@ -377,6 +377,11 @@ private void verifyPacketAcknowledgement( byte[] path, byte[] acknowledgementCommitmentBytes) { ILightClient client = getClient(connection.getClientId()); + + if (IBCCommitment.getHashType(connection.getClientId()) == IBCHost.HashType.ICS08.type) { + acknowledgementCommitmentBytes = IBCCommitment.sha256(acknowledgementCommitmentBytes); + } + client.verifyMembership( connection.getClientId(), height,