Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Hamilton <m@tthamilton.com>
  • Loading branch information
Eriner committed Jul 22, 2023
1 parent 82097c2 commit 37aab4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fast_generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func GenerateFastPrivateKey() string {
k.Mod(k, n)
k.Add(k, one)
poolBytes.Put(b)
poolBigInt.Put(k)
poolBigInt.Put(n)
defer poolBigInt.Put(k)
return hex.EncodeToString(k.Bytes())
}

0 comments on commit 37aab4f

Please sign in to comment.