fix: Error when editing saved ENS address

- reset the `address` field properly to zero (instead of empty) address

Fixes #14901
This commit is contained in:
Lukáš Tinkl 2024-05-28 12:22:07 +02:00 committed by Lukáš Tinkl
parent c4f7c9732d
commit f28343e264
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ StatusModal {
// Update root values // Update root values
if (Utils.isLikelyEnsName(plainText)) { if (Utils.isLikelyEnsName(plainText)) {
d.ens = plainText d.ens = plainText
d.address = "" d.address = Constants.zeroAddress
d.chainShortNames = "" d.chainShortNames = ""
} }
else { else {