From a0a810edc3d5a614c4de6cba3aaeec13e6785be3 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Thu, 4 Apr 2019 19:01:12 -0300 Subject: [PATCH] make permanent url name#claim_id on torba too --- lbrynet/wallet/transaction.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lbrynet/wallet/transaction.py b/lbrynet/wallet/transaction.py index 58c98e78e..08a41f3df 100644 --- a/lbrynet/wallet/transaction.py +++ b/lbrynet/wallet/transaction.py @@ -80,12 +80,6 @@ class Output(BaseOutput): @property def permanent_url(self) -> str: if self.script.is_claim_involved: - if self.channel is not None: - return "{}#{}/{}".format( - self.channel.claim_name, - self.channel.claim_id, - self.claim_name - ) return f"{self.claim_name}#{self.claim_id}" raise ValueError('No claim associated.')