From 05a271cb89a2ae30fffb1cf89d65c84d0d0f2624 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Fri, 16 Aug 2019 22:46:48 +0200 Subject: [PATCH] (trivial) fix type annotation --- electrum/channel_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/channel_db.py b/electrum/channel_db.py index b4ba1592bd15..38d624c4e1a5 100644 --- a/electrum/channel_db.py +++ b/electrum/channel_db.py @@ -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: