Blocked timeout error #506
1 changed files with 4 additions and 1 deletions
|
@ -22,7 +22,10 @@ const claimLongId = ({ ip, originalUrl, body, params }, res) => {
|
|||
getClaimId(channelName, channelClaimId, claimName, claimId)
|
||||
.then(fullClaimId => {
|
||||
claimId = fullClaimId;
|
||||
return db.Blocked.isNotBlocked(fullClaimId, claimName);
|
||||
return db.Claim.getOutpoint(claimName, fullClaimId);
|
||||
})
|
||||
.then(outpoint => {
|
||||
return db.Blocked.isNotBlocked(outpoint);
|
||||
})
|
||||
.then(() => {
|
||||
res.status(200).json({success: true, data: claimId});
|
||||
|
|
Loading…
Reference in a new issue