Changed to DnsReg

This commit is contained in:
obscuren
2014-08-07 15:26:07 +02:00
parent 7272577fe6
commit d6b0ab3028
2 changed files with 3 additions and 3 deletions

View File

@@ -15,9 +15,9 @@ func (self *Config) Get(name string) *Object {
switch name {
case "NameReg":
addr = []byte{0}
case "DomainReg":
case "DnsReg":
objectAddr := configCtrl.GetStorage(ethutil.BigD([]byte{0}))
domainAddr := (&Object{self.pipe.World().safeGet(objectAddr.Bytes())}).StorageString("DomainReg").Bytes()
domainAddr := (&Object{self.pipe.World().safeGet(objectAddr.Bytes())}).StorageString("DnsReg").Bytes()
return &Object{self.pipe.World().safeGet(domainAddr)}
default: