]> Cypherpunks repositories - balloon.git/commitdiff
Unnecessary type
authorSergey Matveev <stargrave@stargrave.org>
Tue, 6 Aug 2024 12:08:05 +0000 (15:08 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 6 Aug 2024 12:08:05 +0000 (15:08 +0300)
balloon.go

index 137ee2180e4603845942ab1a384741577aa0e635..3a71ce2b35700344f13561d4239466ca54e4ea7f 100644 (file)
@@ -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++ {