forked from forks/go-ethereum
contracts/ens: change contract interface
This commit is contained in:
parent
49d815703f
commit
0a4176dcb5
1 changed files with 2 additions and 2 deletions
|
|
@ -133,7 +133,7 @@ func (ens *ENS) Resolve(name string) (common.Hash, error) {
|
|||
if err != nil {
|
||||
return common.Hash{}, err
|
||||
}
|
||||
ret, err := resolver.Content(node)
|
||||
ret, err := resolver.Contenthash(node)
|
||||
if err != nil {
|
||||
return common.Hash{}, err
|
||||
}
|
||||
|
|
@ -191,5 +191,5 @@ func (ens *ENS) SetContentHash(name string, hash common.Hash) (*types.Transactio
|
|||
}
|
||||
opts := ens.TransactOpts
|
||||
opts.GasLimit = 200000
|
||||
return resolver.Contract.SetContent(&opts, node, hash)
|
||||
return resolver.Contract.SetContenthash(&opts, node, hash)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue