mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-31 16:09:49 +00:00
prevent fillint empty addresses
This commit is contained in:
parent
2775e1d9f8
commit
c71e4b4689
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class AddressResolver {
|
|||
if (text.contains(".")) {
|
||||
var wallet = getIt.get<AppStore>().wallet!;
|
||||
final address = await EnsRecord.fetchEnsAddress(text, wallet: wallet);
|
||||
if (address.isNotEmpty) {
|
||||
if (address.isNotEmpty && address != "0x0000000000000000000000000000000000000000") {
|
||||
return ParsedAddress.fetchEnsAddress(name: text, address: address);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue