Skip to content

Commit

Permalink
(trivial) fix type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
SomberNight committed Aug 16, 2019
1 parent c3d32e6 commit 05a271c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electrum/channel_db.py
Expand Up @@ -468,7 +468,7 @@ def add_node_announcement(self, msg_payloads):
self.update_counts()

def get_routing_policy_for_channel(self, start_node_id: bytes,
short_channel_id: bytes) -> Optional[bytes]:
short_channel_id: bytes) -> Optional[Policy]:
if not start_node_id or not short_channel_id: return None
channel_info = self.get_channel_info(short_channel_id)
if channel_info is not None:
Expand Down

0 comments on commit 05a271c

Please sign in to comment.