fix:fix import account error
@@ -134,7 +134,7 @@ public class LocalUtxoServiceImpl implements LocalUtxoService {
@Override
public Result saveUtxoForAccount(Transaction tx, byte[] addresses) {
- if(AddressTool.validAddress(addresses)){
+ if (!AddressTool.validAddress(addresses)) {
return Result.getFailed(AccountLedgerErrorCode.ADDRESS_ERROR);
}
if (tx == null) {
