don't allow claims from future to be rendered

This commit is contained in:
Sean Yesmunt 2020-11-19 13:27:16 -05:00
parent 9801f43d3e
commit aa4886344e

View file

@ -273,6 +273,13 @@ function ClaimListDiscover(props: Props) {
.startOf('week')
.unix()
)}`;
} else {
// Hack for at least the New page until https://github.com/lbryio/lbry-sdk/issues/2591 is fixed
options.release_time = `<${Math.floor(
moment()
.startOf('minute')
.unix()
)}`;
}
}
}