Skip to content

Commit 475b515

Browse files
Minor changes
1 parent b7fd40b commit 475b515

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/it/unipr/analysis/EVMAbstractState.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -809,20 +809,19 @@ else if (indexOfByte.compareTo(new StackElement(Number.MAX_INT)) < 0) {
809809
resultStack.push(StackElement.NOT_JUMPDEST_TOP);
810810
else {
811811

812-
// Read exactly `size` bytes from your abstract
812+
// Read exactly size bytes from your abstract
813813
// memory.
814814
byte[] chunk = memory.readBytes(offset.getNumber().getInt(), size.getNumber().getInt());
815815

816816
if (chunk == null)
817817
resultStack.push(StackElement.NOT_JUMPDEST_TOP);
818818
else {
819-
// Keccak-256 hash
819+
// Keccak256 hash
820820
Digest256 kecc = new Keccak.Digest256();
821821
kecc.update(chunk, 0, chunk.length);
822822
byte[] hash = kecc.digest();
823823
BigInteger hashedValue = new BigInteger(1, hash);
824824

825-
// Push the concrete hash result
826825
resultStack.push(new StackElement(hashedValue));
827826
}
828827
}

0 commit comments

Comments
 (0)