Disable the type byte

This commit is contained in:
Alex Beregszaszi
2020-12-14 19:18:25 +00:00
parent 271a17d908
commit 15237c8404
8 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -261,7 +261,7 @@ which only need to be created if there is a dispute.
// can be pre-computed. It is just there for illustration.
// You actually only need ``new D{salt: salt}(arg)``.
address predictedAddress = address(uint160(uint(keccak256(abi.encodePacked(
byte(0xff),
bytes1(0xff),
address(this),
salt,
keccak256(abi.encodePacked(