Revert "fix metadata for claims with canonical collision"
This reverts commit 61d55604a4
.
This commit is contained in:
parent
26f460d2ae
commit
43a9393dca
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue