Skip to content

Commit

Permalink
Merge pull request #1683 from AlphaWallet/fix-malicious-takeover-prev…
Browse files Browse the repository at this point in the history
…iously-owned-ens-names

Fix malicious takeover previously owned ens names
  • Loading branch information
bitcoinwarrior1 authored Jan 31, 2020
2 parents d5afba5 + 4d83302 commit a7f23f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions AlphaWallet/Settings/Types/Constants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,10 @@ public struct Constants {
public static let katContractAddress = "0x06012c8cf97bead5deae237070f9587f8e7a266d"

//ENS
static let ENSRegistrarAddress = AlphaWallet.Address(string: "0x314159265dD8dbb310642f98f50C066173C1259b")!
static let ENSRegistrarRopsten = AlphaWallet.Address(string: "0x112234455c3a32fd11230c42e7bccd4a84e02010")!
static let ENSRegistrarRinkeby = AlphaWallet.Address(string: "0xe7410170f87102df0055eb195163a03b7f2bff4a")!
static let ENSRegistrarAddress = AlphaWallet.Address(string: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e")!
static let ENSRegistrarRopsten = ENSRegistrarAddress
static let ENSRegistrarRinkeby = ENSRegistrarAddress
static let ENSRegistrarGoerli = ENSRegistrarAddress
static let ENSRegistrarXDAI = AlphaWallet.Address(string: "0x17734f3709486b1d7015f941c069cebf8017a833")!

//Misc
Expand Down
3 changes: 2 additions & 1 deletion AlphaWallet/Settings/Types/RPCServers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,9 @@ enum RPCServer: Hashable, CaseIterable {
case .main: return Constants.ENSRegistrarAddress
case .ropsten: return Constants.ENSRegistrarRopsten
case .rinkeby: return Constants.ENSRegistrarRinkeby
case .goerli: return Constants.ENSRegistrarGoerli
case .xDai: return Constants.ENSRegistrarXDAI
case .kovan, .poa, .sokol, .classic, .callisto, .goerli, .artis_sigma1, .artis_tau1, .custom:
case .kovan, .poa, .sokol, .classic, .callisto, .artis_sigma1, .artis_tau1, .custom:
return Constants.ENSRegistrarAddress
}
}
Expand Down

0 comments on commit a7f23f1

Please sign in to comment.