remove window.ens

This commit is contained in:
Mikhail Mikheev 2019-07-29 14:12:06 +04:00
parent 167281179f
commit 242204bfbd
1 changed files with 0 additions and 2 deletions

View File

@ -108,8 +108,6 @@ export const getProviderInfo: Function = async (): Promise<ProviderProps> => {
export const getAddressFromENS = async (name: string) => { export const getAddressFromENS = async (name: string) => {
const ens = new ENS(web3) const ens = new ENS(web3)
// window.web3provider = web3
window.ens = ens
const address = await ens.resolver(name).addr() const address = await ens.resolver(name).addr()
return address return address