remove logo for old Vanity (#13672)

* Delete logo.png

* Abandoned check fix

Co-authored-by: catenocrypt <13562139+catenocrypt@users.noreply.github.com>
This commit is contained in:
CryptoA 2021-09-18 04:02:21 -04:00 committed by GitHub
parent ebddc54efa
commit cc8b74cc40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

View File

@ -99,8 +99,8 @@ export class FoldersFiles implements ActionInterface {
if (!logoExists && infoExists) { if (!logoExists && infoExists) {
// logo must be present, with some exceptions // logo must be present, with some exceptions
const info: unknown = readJsonFile(infoFullPath); const info: unknown = readJsonFile(infoFullPath);
if (!info['status'] || info['status'] !== 'spam' || info['status'] !== 'abandoned') { if (!info['status'] || !(info['status'] == 'spam' || info['status'] == 'abandoned')) {
const msg = `Missing logo file for non-spam asset '${chain}/${address}' -- ${logoFullPath}`; const msg = `Missing logo file for non-spam/non-abandoned asset '${chain}/${address}' -- ${logoFullPath}`;
console.log(msg); console.log(msg);
errors.push(msg); errors.push(msg);
} }