From cbd822b5d30c9f7e6f1a5ce9c683cc9058bc527b Mon Sep 17 00:00:00 2001 From: Miguel Mota Date: Tue, 4 Sep 2018 00:16:47 -0700 Subject: [PATCH] to lower --- util/hashutil.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/hashutil.js b/util/hashutil.js index 9b0cffb..6887044 100644 --- a/util/hashutil.js +++ b/util/hashutil.js @@ -16,7 +16,7 @@ function hashToHexString (data) { } function isEqual (hexHash, data) { - return hexHash === hashToHexString(data) + return hexHash.toLowerCase() === hashToHexString(data) } module.exports = {