Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Commit

Permalink
to lower
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmota committed Sep 4, 2018
1 parent d7adcaa commit cbd822b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/hashutil.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function hashToHexString (data) {
}

function isEqual (hexHash, data) {
return hexHash === hashToHexString(data)
return hexHash.toLowerCase() === hashToHexString(data)
}

module.exports = {
Expand Down

0 comments on commit cbd822b

Please sign in to comment.