File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/main/java/it/unipr/analysis Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments