pathchain 1.0.47 → 1.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/checker.js +1 -4
- package/package.json +1 -1
package/checker.js
CHANGED
|
@@ -72,10 +72,7 @@ function isSecretUsed(xsecret, xauthor = "") {
|
|
|
72
72
|
var secret_enc = fileContents
|
|
73
73
|
var secret_obj = secret_pb.secret.decode(secret_enc)
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
return false
|
|
77
|
-
}
|
|
78
|
-
return true;
|
|
75
|
+
return secret_obj.used;
|
|
79
76
|
}
|
|
80
77
|
|
|
81
78
|
// CHECKING THE SECRET CHECKS THE SECRET
|