mirror of https://github.com/status-im/EIPs.git
Specifying the type of record for clarity. (#1457)
This commit is contained in:
parent
70d407230b
commit
f7deade346
|
@ -188,7 +188,7 @@ Resolvers wishing to support contract address resources must provide the followi
|
||||||
function addr(bytes32 node) constant returns (address);
|
function addr(bytes32 node) constant returns (address);
|
||||||
```
|
```
|
||||||
|
|
||||||
If the resolver supports `addr` lookups but the requested node does not have a record, the resolver MUST return the zero address.
|
If the resolver supports `addr` lookups but the requested node does not have an addr record, the resolver MUST return the zero address.
|
||||||
|
|
||||||
Clients resolving the `addr` record MUST check for a zero return value, and treat this in the same manner as a name that does not have a resolver specified - that is, refuse to send funds to or interact with the address. Failure to do this can result in users accidentally sending funds to the 0 address.
|
Clients resolving the `addr` record MUST check for a zero return value, and treat this in the same manner as a name that does not have a resolver specified - that is, refuse to send funds to or interact with the address. Failure to do this can result in users accidentally sending funds to the 0 address.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue