Skip to content

Commit

Permalink
Merge pull request #1153 from cfelde/ENS-Update
Browse files Browse the repository at this point in the history
Update ENS contract address
  • Loading branch information
antonydenyer authored Jan 30, 2020
2 parents f5b4b3b + 02c3d43 commit 09d2634
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions core/src/main/java/org/web3j/ens/Contracts.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
/** ENS registry contract addresses. */
public class Contracts {

public static final String MAINNET = "0x314159265dd8dbb310642f98f50c066173c1259b";
public static final String ROPSTEN = "0x112234455c3a32fd11230c42e7bccd4a84e02010";
public static final String RINKEBY = "0xe7410170f87102df0055eb195163a03b7f2bff4a";
public static final String MAINNET = "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
public static final String ROPSTEN = "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
public static final String RINKEBY = "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";

public static String resolveRegistryContract(String chainId) {
final Long chainIdLong = Long.parseLong(chainId);
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/org/web3j/ens/EnsResolver.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public String resolve(String contractId) {
* Reverse name resolution as documented in the <a
* href="https://docs.ens.domains/contract-api-reference/reverseregistrar">specification</a>.
*
* @param address an ethereum address, example: "0x314159265dd8dbb310642f98f50c066173c1259b"
* @param address an ethereum address, example: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
* @return a EnsName registered for provided address
*/
public String reverseResolve(String address) {
Expand Down

0 comments on commit 09d2634

Please sign in to comment.