commit 177766ac3794225b07dd902acf59c53d3971b2c0
parent 07b08738a8269e075faff3da9db336f0f26afd12
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 4 Jan 2021 12:39:24 +0100
lnpeer: fix a comment
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py
@@ -1441,7 +1441,7 @@ class Peer(Logger):
await asyncio.sleep(0.1)
self.send_message('shutdown', channel_id=chan.channel_id, len=len(scriptpubkey), scriptpubkey=scriptpubkey)
chan.set_state(ChannelState.SHUTDOWN)
- # can fullfill or fail htlcs. cannot add htlcs, because of CLOSING state
+ # can fullfill or fail htlcs. cannot add htlcs, because state != OPEN
chan.set_can_send_ctx_updates(True)
@log_exceptions