1
0

lnrouter: fix self-payments

This commit is contained in:
bitromortac
2021-07-23 13:12:20 +02:00
parent a8ecc68833
commit e6ccbcf7b7
2 changed files with 30 additions and 19 deletions

View File

@@ -826,7 +826,7 @@ class ChannelDB(SqlDB):
*,
my_channels: Dict[ShortChannelID, 'Channel'] = None,
private_route_edges: Dict[ShortChannelID, 'RouteEdge'] = None,
) -> Set[bytes]:
) -> Set[ShortChannelID]:
"""Returns the set of short channel IDs where node_id is one of the channel participants."""
if not self.data_loaded.is_set():
raise Exception("channelDB data not loaded yet!")