We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99e5d61 commit cff9ad6Copy full SHA for cff9ad6
contracts/LinearCodeAddressGenerator.cdc
@@ -6,7 +6,7 @@ contract LinearCodeAddressGenerator {
6
access(all)
7
enum Chain: UInt8 {
8
9
- case Mainnet
+ case Mainnet
10
11
12
case Testnet
@@ -89,7 +89,7 @@ contract LinearCodeAddressGenerator {
89
return codeWord
90
}
91
92
- /// Returns the address at the given index, for the given chain code word.
+ /// Returns the address at the given index, for the given chain.
93
94
fun address(at index: UInt64, chain: Chain): Address {
95
return Address(self.encodeWord(index) ^ self.codeWord(forChain: chain))
0 commit comments