aboutsummaryrefslogtreecommitdiffstats
path: root/ethpub/pub.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethpub/pub.go')
-rw-r--r--ethpub/pub.go2
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 {