diff --git a/src/libraries/BytesParsing.sol b/src/libraries/BytesParsing.sol index 7c644f6..5e04e1f 100644 --- a/src/libraries/BytesParsing.sol +++ b/src/libraries/BytesParsing.sol @@ -80,7 +80,7 @@ library BytesParsing { bytes memory encoded, uint offset ) internal pure returns (address, uint) { - (uint160 ret, uint nextOffset) = asUint160(encoded, offset); + (uint160 ret, uint nextOffset) = asUint160Unchecked(encoded, offset); return (address(ret), nextOffset); }