ops, copy all
This commit is contained in:
parent
d3f0c3fb01
commit
ac6c6a682e
1 changed files with 1 additions and 4 deletions
|
@ -2308,10 +2308,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
||||||
old_txo = await self.ledger.get_claim_by_claim_id(wallet.accounts, claim_id)
|
old_txo = await self.ledger.get_claim_by_claim_id(wallet.accounts, claim_id)
|
||||||
if not old_txo:
|
if not old_txo:
|
||||||
raise Exception('Claim not found.')
|
raise Exception('Claim not found.')
|
||||||
claim = Claim()
|
claim = Claim.from_bytes(old_txo.claim.to_bytes())
|
||||||
claim.stream.message.source.CopyFrom(
|
|
||||||
old_txo.claim.stream.message.source
|
|
||||||
)
|
|
||||||
claim.clear_signature()
|
claim.clear_signature()
|
||||||
name = name or old_txo.claim_name
|
name = name or old_txo.claim_name
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue