This commit is contained in:
aozhiwei 2022-11-03 17:39:52 +08:00
parent a162e579a4
commit 81afef4c07

View File

@ -116,6 +116,9 @@ function isEmptyAddress(address) {
}
function isValidAddress(address) {
if (address == '0x0000000000000000000000000000000000000000') {
return false;
}
return address.toString().length > 10;
}