Browse Source

format message

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 6 years ago
parent
commit
3222e26e01
  1. 2
      electrum/lnrouter.py

2
electrum/lnrouter.py

@ -454,7 +454,7 @@ class ChannelDB(JsonDB):
try: try:
channel_info = self._id_to_channel_info[short_channel_id] channel_info = self._id_to_channel_info[short_channel_id]
except KeyError: 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 return
self._id_to_channel_info.pop(short_channel_id, None) self._id_to_channel_info.pop(short_channel_id, None)
for node in (channel_info.node_id_1, channel_info.node_id_2): for node in (channel_info.node_id_1, channel_info.node_id_2):

Loading…
Cancel
Save