unstoppabledomains/resolution

Valid domains starting with `0x` are considered to be namehashes

vladbat00 opened this issue · 1 comments

I've just stumbled upon this line in the source code:

!this.checkDomain(domainOrNamehash, domainOrNamehash.startsWith('0x'))

It'll mistakenly treat a valid domain name such as 0x.crypto as a namehash.