Specifying the type of record for clarity. (#1457)

This commit is contained in:
Nielsen 2018-10-15 07:02:32 -04:00 committed by Nick Johnson
parent 70d407230b
commit f7deade346
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ Resolvers wishing to support contract address resources must provide the followi
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.