diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-06-30 00:09:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-30 00:09:01 +0800 |
commit | 41318f3776f3ecc09c2f482070bddc7433e00b14 (patch) | |
tree | ba33155b697da13a9585e97ce73a9d424dc9d432 /contracts | |
parent | 65b96dc4b95722df81d664d22fd06550a4c0b8a8 (diff) | |
parent | f3359d5e585eef09648c7a06a6d3911704f61e73 (diff) | |
download | dexon-41318f3776f3ecc09c2f482070bddc7433e00b14.tar dexon-41318f3776f3ecc09c2f482070bddc7433e00b14.tar.gz dexon-41318f3776f3ecc09c2f482070bddc7433e00b14.tar.bz2 dexon-41318f3776f3ecc09c2f482070bddc7433e00b14.tar.lz dexon-41318f3776f3ecc09c2f482070bddc7433e00b14.tar.xz dexon-41318f3776f3ecc09c2f482070bddc7433e00b14.tar.zst dexon-41318f3776f3ecc09c2f482070bddc7433e00b14.zip |
Merge pull request #14646 from ethersphere/swarm-ens-api
cmd/swarm: Support using Mainnet for resolving ENS names
Diffstat (limited to 'contracts')
-rw-r--r-- | contracts/ens/ens.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contracts/ens/ens.go b/contracts/ens/ens.go index 83ca9b63b..c292a1714 100644 --- a/contracts/ens/ens.go +++ b/contracts/ens/ens.go @@ -29,6 +29,11 @@ import ( "github.com/ethereum/go-ethereum/crypto" ) +var ( + MainNetAddress = common.HexToAddress("0x314159265dD8dbb310642f98f50C066173C1259b") + TestNetAddress = common.HexToAddress("0x112234455c3a32fd11230c42e7bccd4a84e02010") +) + // swarm domain name registry and resolver type ENS struct { *contract.ENSSession |