commit fa5302bcfb695490c56ace8208fdebc7b1f04953
parent bce74717a644a6d838c3dd6e064b069875be2b9a
Author: SomberNight <somber.night@protonmail.com>
Date: Fri, 16 Aug 2019 22:46:48 +0200
(trivial) fix type annotation
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/channel_db.py b/electrum/channel_db.py
@@ -468,7 +468,7 @@ class ChannelDB(SqlDB):
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: