Skip to content

Commit

Permalink
lnpeer: fix a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ecdsa committed Jan 4, 2021
1 parent 07b0873 commit 177766a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electrum/lnpeer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,7 @@ async def send_shutdown(self, chan: Channel):
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
Expand Down

0 comments on commit 177766a

Please sign in to comment.