diff --git a/lbry/lbry/extras/daemon/Daemon.py b/lbry/lbry/extras/daemon/Daemon.py index c5795102c..7a51de818 100644 --- a/lbry/lbry/extras/daemon/Daemon.py +++ b/lbry/lbry/extras/daemon/Daemon.py @@ -2884,9 +2884,6 @@ class Daemon(metaclass=JSONRPCServerType): if not preview: await self.broadcast_or_release(tx, blocking) - #await self.storage.save_claims([self._old_get_temp_claim_info( - # tx, new_txo, claim_address, claim, name, dewies_to_lbc(amount) - #)]) # await self.analytics_manager.send_claim_action('publish') todo: what to send? else: await account.ledger.release_tx(tx) diff --git a/lbry/lbry/wallet/server/session.py b/lbry/lbry/wallet/server/session.py index e46852435..2a2104b6e 100644 --- a/lbry/lbry/wallet/server/session.py +++ b/lbry/lbry/wallet/server/session.py @@ -106,6 +106,12 @@ class LBRYElectrumX(ElectrumX): self.daemon = self.session_mgr.daemon self.bp: LBRYBlockProcessor = self.session_mgr.bp self.db: LBRYDB = self.bp.db + # space separated list of channel URIs used for filtering bad content + filtering_channels = self.env.default('FILTERING_CHANNELS', '') + if ' ' in filtering_channels: + self.filtering_channels_uris = filtering_channels.split(' ') + else: + self.filtering_channels_uris = [] def set_request_handlers(self, ptuple): super().set_request_handlers(ptuple)