forked from cerc-io/plugeth
Renamed Sha3Bin to Sha3
This commit is contained in:
parent
b4fa28a3e6
commit
b93d6ca5d2
@ -51,7 +51,7 @@ func (self *UiLib) LookupDomain(domain string) string {
|
|||||||
world := self.World()
|
world := self.World()
|
||||||
|
|
||||||
if len(domain) > 32 {
|
if len(domain) > 32 {
|
||||||
domain = string(ethcrypto.Sha3Bin([]byte(domain)))
|
domain = string(ethcrypto.Sha3([]byte(domain)))
|
||||||
}
|
}
|
||||||
data := world.Config().Get("DnsReg").StorageString(domain).Bytes()
|
data := world.Config().Get("DnsReg").StorageString(domain).Bytes()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user