mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
do not set channel state in close_channel; the watcher should do it
This commit is contained in:
parent
61983c222a
commit
8fe70fc0eb
1 changed files with 1 additions and 6 deletions
|
@ -235,9 +235,4 @@ class LNWorker(PrintError):
|
||||||
Transaction.add_signature_to_txin(tx._inputs[0], none_idx, bh2u(remote_sig))
|
Transaction.add_signature_to_txin(tx._inputs[0], none_idx, bh2u(remote_sig))
|
||||||
tx.raw = None # trigger reserialization
|
tx.raw = None # trigger reserialization
|
||||||
assert tx.is_complete()
|
assert tx.is_complete()
|
||||||
suc, msg = self.network.broadcast_transaction(tx)
|
return self.network.broadcast_transaction(tx)
|
||||||
self.channel_state[chan_id] = "CLOSED"
|
|
||||||
self.on_channels_updated()
|
|
||||||
if "transaction already in block chain" in msg:
|
|
||||||
return
|
|
||||||
assert suc, msg
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue