remove duplicate error message

This commit is contained in:
Joseph Montanaro 2021-07-28 18:23:35 -07:00
parent 5793a18358
commit 93954add96

View File

@ -33,9 +33,6 @@ const dict = loadWords()
proc genPassphrase(length, dictSize: int): string = proc genPassphrase(length, dictSize: int): string =
if dictSize < 100 or dictSize > dict.len:
quit("Dictionary size must be between 100 and " & $dict.len, 1)
var rands = newSeq[uint64](length) var rands = newSeq[uint64](length)
discard randomBytes(rands) discard randomBytes(rands)