lbryio / spee.ch

An image hosting service on top of the LBRY protocol.
https://spee.ch
MIT License
185 stars 78 forks source link

Remove blocked claim logic from `server/utils/getClaimData.js` #868

Open skhameneh opened 5 years ago

skhameneh commented 5 years ago

getClaimData.js is just a format interop for chainquery, it should not contain any additional logic. The current structure appears to be breaking blocked flags on content that is not returned by chainquery.

skhameneh commented 5 years ago

Relates to https://github.com/lbryio/spee.ch/issues/861

skhameneh commented 5 years ago

It appears some of the values being used do not exist for local claims.