diff --git a/lbrynet/wallet/server/db.py b/lbrynet/wallet/server/db.py index f8ef1f0b3..48730d892 100644 --- a/lbrynet/wallet/server/db.py +++ b/lbrynet/wallet/server/db.py @@ -329,7 +329,6 @@ class SQLDB: )) def _update_trending_amount(self, height): - return day_ago = height-self.TRENDING_24_HOURS two_day_ago = height-self.TRENDING_24_HOURS*2 week_ago = height-self.TRENDING_WEEK @@ -454,8 +453,8 @@ class SQLDB: r(self._update_effective_amount, height) r(self._perform_overtake, height, [], []) - if not self.main.first_sync: - r(self._update_trending_amount, height) + #if not self.main.first_sync: + # r(self._update_trending_amount, height) def advance_txs(self, height, all_txs, header, timer): insert_claims = set()