Skip to content

Commit 08d416c

Browse files
committed
Cleanup
1 parent 346a704 commit 08d416c

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

contracts/test/EthscriptionsWithTestFunctions.sol

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,7 @@ contract EthscriptionsWithTestFunctions is Ethscriptions {
3838
}
3939

4040
// It's a pointer to SSTORE2 contract
41-
address pointer = address(uint160(uint256(stored)));
42-
43-
// Verify it actually has code
44-
if (pointer.code.length > 0) {
45-
return pointer;
46-
}
47-
return address(0);
41+
return address(uint160(uint256(stored)));
4842
}
4943

5044
/// @notice Read content directly

0 commit comments

Comments
 (0)