From 43a9393dca328399a51084f11af70b1b5f0b7019 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 28 Jul 2020 15:14:27 -0400 Subject: [PATCH] Revert "fix metadata for claims with canonical collision" This reverts commit 61d55604a4c2c4bebf6f420646193c2071b32eee. --- web/src/chainquery.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/chainquery.js b/web/src/chainquery.js index 96bb992ac..a49414dbd 100644 --- a/web/src/chainquery.js +++ b/web/src/chainquery.js @@ -38,10 +38,10 @@ module.exports.getClaim = async function getClaim(claimName, claimId, channelNam if (claimId) { sql += ' AND claim.claim_id LIKE ?'; params.push(claimId + '%'); + } else { + sql += ' AND claim.bid_state = "controlling"'; } - sql += ' AND claim.bid_state in ("controlling", "active")'; - if (claimName[0] !== '@' && channelName) { sql += ' AND channel_claim.name = ?'; params.push('@' + channelName);