From 16a221ac22048c8a32f208fc1bd96dbb67eef6d7 Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Tue, 1 Aug 2023 11:25:54 +0300 Subject: [PATCH] Return typehint for _get_block_header_data() --- jmclient/jmclient/blockchaininterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jmclient/jmclient/blockchaininterface.py b/jmclient/jmclient/blockchaininterface.py index 9dd58d015..3a646c919 100644 --- a/jmclient/jmclient/blockchaininterface.py +++ b/jmclient/jmclient/blockchaininterface.py @@ -590,7 +590,7 @@ def get_best_block_hash(self) -> str: def get_best_block_median_time(self) -> int: return self._rpc('getblockchaininfo', [])['mediantime'] - def _get_block_header_data(self, blockhash: str, key: str): + def _get_block_header_data(self, blockhash: str, key: str) -> Any: return self._rpc('getblockheader', [blockhash])[key] def get_block_height(self, blockhash: str) -> int: