diff --git a/lbry/lbry/extras/daemon/Daemon.py b/lbry/lbry/extras/daemon/Daemon.py index d358cba90..ce294444f 100644 --- a/lbry/lbry/extras/daemon/Daemon.py +++ b/lbry/lbry/extras/daemon/Daemon.py @@ -1946,9 +1946,9 @@ class Daemon(metaclass=JSONRPCServerType): if not preview: await tx.sign([account]) - await self.broadcast_or_release(account, tx, blocking) account.add_channel_private_key(txo.private_key) self.default_wallet.save() + await self.broadcast_or_release(account, tx, blocking) await self.storage.save_claims([self._old_get_temp_claim_info( tx, txo, claim_address, claim, name, dewies_to_lbc(amount) )]) @@ -2085,9 +2085,9 @@ class Daemon(metaclass=JSONRPCServerType): if not preview: await tx.sign([account]) - await self.broadcast_or_release(account, tx, blocking) account.add_channel_private_key(new_txo.private_key) self.default_wallet.save() + await self.broadcast_or_release(account, tx, blocking) await self.storage.save_claims([self._old_get_temp_claim_info( tx, new_txo, claim_address, new_txo.claim, new_txo.claim_name, dewies_to_lbc(amount) )])