File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
contracts/trading/seaport/zones/immutable-signed-zone/v2 Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -568,11 +568,7 @@ contract ImmutableSignedZoneV2 is
568
568
uint256 scalingFactorDenominator
569
569
) internal pure returns (bytes32 ) {
570
570
uint256 numberOfItems = receivedItems.length ;
571
- // Slither has added an additional checker. Rather than update this in-production code,
572
- // disable the check for this line. The receivedItemsHash variable will be assigned a
573
- // default value, so the code works.
574
- // @slither-disable-next-line uninitialized-local
575
- bytes memory receivedItemsHash;
571
+ bytes memory receivedItemsHash = new bytes (0 ); // Explicitly initialize to empty bytes
576
572
577
573
for (uint256 i; i < numberOfItems; i++ ) {
578
574
receivedItemsHash = abi.encodePacked (
You can’t perform that action at this time.
0 commit comments