aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/api/config.go
diff options
context:
space:
mode:
authorNick Johnson <arachnid@notdot.net>2016-12-02 02:33:10 +0800
committerFelix Lange <fjl@twurst.com>2016-12-02 02:33:10 +0800
commit671fd94e256fb33761dc3b0ae2b8b6374d1d9576 (patch)
tree7aa70862752f948995491381c7353096046ddf25 /swarm/api/config.go
parent717d2f6f9e157bf6962ecadb9ffb30362c733239 (diff)
downloaddexon-671fd94e256fb33761dc3b0ae2b8b6374d1d9576.tar
dexon-671fd94e256fb33761dc3b0ae2b8b6374d1d9576.tar.gz
dexon-671fd94e256fb33761dc3b0ae2b8b6374d1d9576.tar.bz2
dexon-671fd94e256fb33761dc3b0ae2b8b6374d1d9576.tar.lz
dexon-671fd94e256fb33761dc3b0ae2b8b6374d1d9576.tar.xz
dexon-671fd94e256fb33761dc3b0ae2b8b6374d1d9576.tar.zst
dexon-671fd94e256fb33761dc3b0ae2b8b6374d1d9576.zip
swarm/api: Update ENS root address for Ropsten & prod (#3391)
Diffstat (limited to 'swarm/api/config.go')
-rw-r--r--swarm/api/config.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/swarm/api/config.go b/swarm/api/config.go
index f9d3575f7..14a559c75 100644
--- a/swarm/api/config.go
+++ b/swarm/api/config.go
@@ -35,9 +35,8 @@ const (
port = "8500"
)
-// by default ens root is north internal
var (
- toyNetEnsRoot = common.HexToAddress("0xd344889e0be3e9ef6c26b0f60ef66a32e83c1b69")
+ ensRootAddress = common.HexToAddress("0x112234455c3a32fd11230c42e7bccd4a84e02010")
)
// separate bzz directories
@@ -82,7 +81,7 @@ func NewConfig(path string, contract common.Address, prvKey *ecdsa.PrivateKey, n
Swap: swap.DefaultSwapParams(contract, prvKey),
PublicKey: pubkeyhex,
BzzKey: keyhex,
- EnsRoot: toyNetEnsRoot,
+ EnsRoot: ensRootAddress,
NetworkId: networkId,
}
data, err = ioutil.ReadFile(confpath)
@@ -113,7 +112,7 @@ func NewConfig(path string, contract common.Address, prvKey *ecdsa.PrivateKey, n
self.Swap.SetKey(prvKey)
if (self.EnsRoot == common.Address{}) {
- self.EnsRoot = toyNetEnsRoot
+ self.EnsRoot = ensRootAddress
}
return