]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/jobs.go
Simplify Base32-related code
[nncp.git] / src / jobs.go
index 16c95bfbbe2b7276499c912e0fb28a888c21c19c..bbc9946b38166b97fbe28bbf31bd6c27d887d2a7 100644 (file)
@@ -54,7 +54,7 @@ func (ctx *Ctx) Jobs(nodeId *NodeId, xx TRxTx) chan Job {
                        return
                }
                for _, fi := range fis {
-                       hshValue, err := FromBase32(fi.Name())
+                       hshValue, err := Base32Codec.DecodeString(fi.Name())
                        if err != nil {
                                continue
                        }