Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Dec 2, 2024
1 parent cff9ad6 commit 4f3c420
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/LinearCodeAddressGenerator.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ contract LinearCodeAddressGenerator {

access(self)
fun codeWord(forChain chain: Chain): UInt64 {
switch chain {
switch chain {
case Chain.Mainnet:
return 0
case Chain.Testnet:
Expand All @@ -74,7 +74,7 @@ contract LinearCodeAddressGenerator {
access(self)
fun encodeWord(_ word: UInt64): UInt64 {

// Multiply the index GF(2) vector by the code generator matrix
// Multiply the index GF(2) vector by the code generator matrix
var codeWord: UInt64 = 0
var word = word
Expand Down Expand Up @@ -106,7 +106,7 @@ contract LinearCodeAddressGenerator {
return false
}

// Multiply the code word GF(2)-vector by the parity-check matrix
// Multiply the code word GF(2)-vector by the parity-check matrix
var parity: UInt64 = 0

Expand Down

0 comments on commit 4f3c420

Please sign in to comment.