summaryrefslogtreecommitdiff
path: root/worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'worker.js')
-rw-r--r--worker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker.js b/worker.js
index 52588da..3fa14f1 100644
--- a/worker.js
+++ b/worker.js
@@ -472,7 +472,7 @@ function flatten(obj) {
function items_to_hash(items) {
let hexstr = "";
items.forEach((i) =>
- hexstr += ("0" + Number(i).toString(16)).slice(-4)); // pad for 2B
+ hexstr += ("000" + Number(i).toString(16)).slice(-4)); // pad for 2B
return hexstr;
}