Browse Source

format message

regtest_lnd
ThomasV 6 years ago
committed by SomberNight
parent
commit
90954066c1
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/lnrouter.py

2
electrum/lnrouter.py

@ -454,7 +454,7 @@ class ChannelDB(JsonDB):
try:
channel_info = self._id_to_channel_info[short_channel_id]
except KeyError:
self.print_error('cannot find channel {}'.format(short_channel_id))
self.print_error(f'remove_channel: cannot find channel {bh2u(short_channel_id)}')
return
self._id_to_channel_info.pop(short_channel_id, None)
for node in (channel_info.node_id_1, channel_info.node_id_2):

Loading…
Cancel
Save