From: Sergey Matveev Date: Tue, 6 Aug 2024 12:08:05 +0000 (+0300) Subject: Unnecessary type X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d890cd62ec6ce9439cfd35f22202c9f61988cd3d;p=balloon.git Unnecessary type --- diff --git a/balloon.go b/balloon.go index 137ee21..3a71ce2 100644 --- a/balloon.go +++ b/balloon.go @@ -137,7 +137,7 @@ func B(h hash.Hash, passwd, salt []byte, sCost, tCost uint64) []byte { // B(p, s || "2") XOR // B(p, s || jobs) // )) -func H(hasher func() hash.Hash, passwd, salt []byte, sCost, tCost int, jobs int) []byte { +func H(hasher func() hash.Hash, passwd, salt []byte, sCost, tCost, jobs int) []byte { var i int results := make(chan []byte) for ; i < jobs; i++ {