Skip to content

Commit cff9ad6

Browse files
turbolenttarakby
andauthored
Apply suggestions from code review
Co-authored-by: Tarak Ben Youssef <[email protected]>
1 parent 99e5d61 commit cff9ad6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/LinearCodeAddressGenerator.cdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ contract LinearCodeAddressGenerator {
66
access(all)
77
enum Chain: UInt8 {
88
access(all)
9-
case Mainnet
9+
case Mainnet
1010

1111
access(all)
1212
case Testnet
@@ -89,7 +89,7 @@ contract LinearCodeAddressGenerator {
8989
return codeWord
9090
}
9191

92-
/// Returns the address at the given index, for the given chain code word.
92+
/// Returns the address at the given index, for the given chain.
9393
access(all)
9494
fun address(at index: UInt64, chain: Chain): Address {
9595
return Address(self.encodeWord(index) ^ self.codeWord(forChain: chain))

0 commit comments

Comments
 (0)