1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 17:33:23 +01:00

Add support for alternative ENS TLDs

Fixes #2428
This commit is contained in:
Dan Finlay 2017-10-22 22:12:12 -07:00
parent e564ed8d4c
commit 926abc12b1
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@
## Current Master ## Current Master
- Add support for alternative ENS TLDs (Ethereum Name Service Top-Level Domains).
## 3.11.2 2017-10-21 ## 3.11.2 2017-10-21
- Fix bug where reject button would sometimes not work. - Fix bug where reject button would sometimes not work.

View File

@ -6,7 +6,7 @@ const debounce = require('debounce')
const copyToClipboard = require('copy-to-clipboard') const copyToClipboard = require('copy-to-clipboard')
const ENS = require('ethjs-ens') const ENS = require('ethjs-ens')
const networkMap = require('ethjs-ens/lib/network-map.json') const networkMap = require('ethjs-ens/lib/network-map.json')
const ensRE = /.+\.eth$/ const ensRE = /.+\..+$/
const ZERO_ADDRESS = '0x0000000000000000000000000000000000000000' const ZERO_ADDRESS = '0x0000000000000000000000000000000000000000'