Skip to content

Commit d3aacf8

Browse files
committed
Add missing hash of timestamp
Signed-off-by: Matt Hess <[email protected]>
1 parent e707214 commit d3aacf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hedera-node/test-clients/src/main/java/com/hedera/services/bdd/junit/support/validators/block/StateChangesValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ private RootAndSiblingHashes computeBlockHash(
674674
final var depth3Node2 = BlockImplUtils.combine(depth4Node3, depth4Node4);
675675

676676
// Compute depth two hashes (timestamp + last right sibling)
677-
final var depth2Node1 = Timestamp.PROTOBUF.toBytes(blockTimestamp);
677+
final var depth2Node1 = noThrowSha384HashOf(Timestamp.PROTOBUF.toBytes(blockTimestamp));
678678
final var depth2Node2 = BlockImplUtils.combine(depth3Node1, depth3Node2);
679679

680680
// Compute the block's root hash (depth 1)

0 commit comments

Comments
 (0)