aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/util_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/util_test.js')
-rw-r--r--test/unit/util_test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/util_test.js b/test/unit/util_test.js
index 6ad27ed81..12a16999e 100644
--- a/test/unit/util_test.js
+++ b/test/unit/util_test.js
@@ -78,11 +78,11 @@ describe('util', function() {
})
it('should recognize this sample hashed address', function() {
- const address = '0x5Fda30Bb72B8Dfe20e48A00dFc108d0915BE9BbA'
+ const address = '0x5Fda30Bb72B8Dfe20e48A00dFc108d0915BE9Bb0'
const result = util.isValidAddress(address)
- const hashed = ethUtil.toChecksumAddress(address)
+ const hashed = ethUtil.toChecksumAddress(address.toLowerCase())
assert.equal(hashed, address, 'example is hashed correctly')
- assert.ok(result)
+ assert.ok(result, 'is valid by our check')
})
})