Open ngurmen opened 2 years ago
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?
require(_length + 31 >= _length, "slice_overflow");
require(_bytes.length + 31 >= _length, "slice_overflow");
Hi, I have a question on the first require on the slice method. Shouldn't this
require(_length + 31 >= _length, "slice_overflow");
berequire(_bytes.length + 31 >= _length, "slice_overflow");
to be meaningful?