@ -2662,7 +2662,7 @@ function namehash (inputName) {
}
return `0x${node}`
return '0x' + node
function normalize(name) {
@ -20,6 +20,7 @@ function namehash (inputName) {
return name ? uts46.toUnicode(name, {useStd3ASCII: true, transitional: false}) : name
@ -1,5 +1,5 @@
const test = require('tape')
const namehash = require('../dist')
const namehash = require('../')
// Test results specified in original ENS Proposal:
// https://github.com/ethereum/EIPs/issues/137