dial back the go version

This commit is contained in:
2024-08-05 13:34:25 +01:00
parent 94226d9ca0
commit afeca7a9af
2 changed files with 4 additions and 1 deletions

2
go.mod
View File

@@ -1,6 +1,6 @@
module wordstr.mleku.dev
go 1.23rc2
go 1.22.5
require (
ec.mleku.dev/v2 v2.3.5

View File

@@ -3,6 +3,7 @@ package wordstr
import (
"encoding/hex"
"fmt"
"math"
"math/big"
"os"
"strings"
@@ -89,6 +90,8 @@ func ToNsec(places []*big.Int, words []string) (hsec, nsec string, err error) {
return
}
}
a := math.MaxUint32
_ = a
key := big.NewInt(0)
for i := range indexes {
places[i].Mul(places[i], big.NewInt(indexes[i]))