diff --git a/go.mod b/go.mod index 2f766a2..cdb41ad 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module wordstr.mleku.dev -go 1.23rc2 +go 1.22.5 require ( ec.mleku.dev/v2 v2.3.5 diff --git a/wordstr/wordstr.go b/wordstr/wordstr.go index 365d5d2..91f8d9c 100644 --- a/wordstr/wordstr.go +++ b/wordstr/wordstr.go @@ -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]))