solidity-bytes-utils
solidity-bytes-utils copied to clipboard
First require of the slice
Hi,
I have a question on the first require on the slice method.
Shouldn't this require(_length + 31 >= _length, "slice_overflow"); be require(_bytes.length + 31 >= _length, "slice_overflow"); to be meaningful?