We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec773cf commit 537cfa2Copy full SHA for 537cfa2
contracts/javascore/ibc/src/main/java/ibc/ics04/channel/IBCPacket.java
@@ -377,6 +377,11 @@ private void verifyPacketAcknowledgement(
377
byte[] path,
378
byte[] acknowledgementCommitmentBytes) {
379
ILightClient client = getClient(connection.getClientId());
380
+
381
+ if (IBCCommitment.getHashType(connection.getClientId()) == IBCHost.HashType.ICS08.type) {
382
+ acknowledgementCommitmentBytes = IBCCommitment.sha256(acknowledgementCommitmentBytes);
383
+ }
384
385
client.verifyMembership(
386
connection.getClientId(),
387
height,
0 commit comments