fix default eth node for ens
fosse committed
Sep 29, 2023 at 11:24 UTC
dff1ee2148f5752bb942a7396a8291be143d176e
2 files changed
+2
-1
lib/entities/ens_record.dart
+1
-1
@@ -14,7 +14,7 @@ class EnsRecord {
14
}
15
16
if (_client == null) {
17
- _client = Web3Client("ethereum.publicnode.com", Client());
17
+ _client = Web3Client("https://ethereum.publicnode.com", Client());
18
}
19
20
try {
lib/entities/parse_address_from_domain.dart
+1
@@ -103,6 +103,7 @@ class AddressResolver {
103
if (text.contains(".")) {
104
var wallet = getIt.get<AppStore>().wallet!;
105
final address = await EnsRecord.fetchEnsAddress(text, wallet: wallet);
106
+ print(address);
107
if (address.isNotEmpty) {
108
return ParsedAddress.fetchEnsAddress(name: text, address: address);
109
}