From ac6c6a682eb0bf5ed840849e08310b8e14ab07a9 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Wed, 21 Oct 2020 17:19:17 -0300 Subject: [PATCH] ops, copy all --- lbry/extras/daemon/daemon.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lbry/extras/daemon/daemon.py b/lbry/extras/daemon/daemon.py index c8172a42d..96d9ee8b0 100644 --- a/lbry/extras/daemon/daemon.py +++ b/lbry/extras/daemon/daemon.py @@ -2308,10 +2308,7 @@ class Daemon(metaclass=JSONRPCServerType): old_txo = await self.ledger.get_claim_by_claim_id(wallet.accounts, claim_id) if not old_txo: raise Exception('Claim not found.') - claim = Claim() - claim.stream.message.source.CopyFrom( - old_txo.claim.stream.message.source - ) + claim = Claim.from_bytes(old_txo.claim.to_bytes()) claim.clear_signature() name = name or old_txo.claim_name