aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/src/Helpers.js
diff options
context:
space:
mode:
Diffstat (limited to 'lang/js/src/Helpers.js')
-rw-r--r--lang/js/src/Helpers.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/js/src/Helpers.js b/lang/js/src/Helpers.js
index fd0e7200..b26f40fb 100644
--- a/lang/js/src/Helpers.js
+++ b/lang/js/src/Helpers.js
@@ -90,10 +90,11 @@ function hextest(key, len){
export function isFingerprint(string){
return hextest(string, 40);
};
+
/**
- * TODO no usage; check if the input is a valid Hex string with a length of 16
+ * check if the input is a valid Hex string with a length of 16
*/
-function isLongId(string){
+export function isLongId(string){
return hextest(string, 16);
};