Skip to content

Commit

Permalink
core/vm: clarify comment (ethereum#27045)
Browse files Browse the repository at this point in the history
  • Loading branch information
joohhnnn authored and shekhirin committed Jun 6, 2023
1 parent 8c2fdcc commit 91c2531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/vm/analysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (bits *bitvec) codeSegment(pos uint64) bool {
// codeBitmap collects data locations in code.
func codeBitmap(code []byte) bitvec {
// The bitmap is 4 bytes longer than necessary, in case the code
// ends with a PUSH32, the algorithm will push zeroes onto the
// ends with a PUSH32, the algorithm will set bits on the
// bitvector outside the bounds of the actual code.
bits := make(bitvec, len(code)/8+1+4)
return codeBitmapInternal(code, bits)
Expand Down

0 comments on commit 91c2531

Please sign in to comment.