aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/resolver.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/lib/resolver.js')
-rw-r--r--app/scripts/lib/resolver.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/resolver.js b/app/scripts/lib/resolver.js
index 6786929d8..cbda0c028 100644
--- a/app/scripts/lib/resolver.js
+++ b/app/scripts/lib/resolver.js
@@ -61,7 +61,7 @@ function getRegistrar (type) {
module.exports.resolve = function (name, provider) {
const path = name.split('.')
const tld = path[path.length - 1]
- if (tld === 'eth') {
+ if (tld === 'eth' || tld === 'test') {
return ens(name, provider)
} else {
return new Promise((resolve, reject) => {