master
Dan Finlay 7 years ago
parent 33b5fdd5f5
commit 7e5287ccff
No known key found for this signature in database
GPG Key ID: 931102F24B36007A

2
dist/index.js vendored

@ -2662,7 +2662,7 @@ function namehash (inputName) {
} }
} }
return `0x${node}` return '0x' + node
} }
function normalize(name) { function normalize(name) {

@ -20,6 +20,7 @@ function namehash (inputName) {
} }
return '0x' + node return '0x' + node
}
function normalize(name) { function normalize(name) {
return name ? uts46.toUnicode(name, {useStd3ASCII: true, transitional: false}) : name return name ? uts46.toUnicode(name, {useStd3ASCII: true, transitional: false}) : name

@ -1,5 +1,5 @@
const test = require('tape') const test = require('tape')
const namehash = require('../dist') const namehash = require('../')
// Test results specified in original ENS Proposal: // Test results specified in original ENS Proposal:
// https://github.com/ethereum/EIPs/issues/137 // https://github.com/ethereum/EIPs/issues/137

Loading…
Cancel
Save