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
@@ -391,7 +391,7 @@ Array Members
// Create a dynamic byte array:
bytes memory b = new bytes(200);
for (uint i = 0; i < b.length; i++)
b[i] = byte(uint8(i));
b[i] = bytes1(uint8(i));
return b;
}
}