diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-07 21:26:07 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-07 21:26:07 +0800 |
commit | d6b0ab3028ba8d7a565d35ab7b8054ee921ba683 (patch) | |
tree | f07d77f66401e9a94ead62b4a1d3d29ae5f04f5e /ethpub | |
parent | 7272577fe651a20618cf428475e2e57976c9599d (diff) | |
download | dexon-d6b0ab3028ba8d7a565d35ab7b8054ee921ba683.tar dexon-d6b0ab3028ba8d7a565d35ab7b8054ee921ba683.tar.gz dexon-d6b0ab3028ba8d7a565d35ab7b8054ee921ba683.tar.bz2 dexon-d6b0ab3028ba8d7a565d35ab7b8054ee921ba683.tar.lz dexon-d6b0ab3028ba8d7a565d35ab7b8054ee921ba683.tar.xz dexon-d6b0ab3028ba8d7a565d35ab7b8054ee921ba683.tar.zst dexon-d6b0ab3028ba8d7a565d35ab7b8054ee921ba683.zip |
Changed to DnsReg
Diffstat (limited to 'ethpub')
-rw-r--r-- | ethpub/pub.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethpub/pub.go b/ethpub/pub.go index 3fb4c4920..ab2aae599 100644 --- a/ethpub/pub.go +++ b/ethpub/pub.go @@ -75,7 +75,7 @@ func (self *PEthereum) LookupDomain(domain string) string { domain = string(ethcrypto.Sha3Bin([]byte(domain))) } - return strings.Trim(world.Config().Get("DomainReg").StorageString(domain).Str(), "\x00") + return strings.Trim(world.Config().Get("DnsReg").StorageString(domain).Str(), "\x00") } func (lib *PEthereum) GetBlock(hexHash string) *PBlock { |