minor bug in GenerateRandomConfirmationNumber - number range wasn't great enough

This commit is contained in:
2026-03-01 22:52:56 -07:00
parent 18260c59f0
commit 967135a3a6
+1 -1
View File
@@ -51,7 +51,7 @@ var syllabary = [...]string{
}
// RCN_BASE is the base for generating random confirmation numbers.
var RCN_BASE *big.Int = big.NewInt(900000)
var RCN_BASE *big.Int = big.NewInt(9000000)
// RCN_OFFSET is what we add to a generated random number to get a proper confirmation number.
const RCN_OFFSET = 1000000