mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-16 13:01:04 +02:00
Add args to docstring for bitcoin client class (#1535)
This commit is contained in:
parent
545d45299a
commit
831c96d47e
1 changed files with 3 additions and 0 deletions
|
|
@ -45,6 +45,9 @@ class BitcoinClient(ABC):
|
|||
def get_block_info_by_height(self, block_height: int) -> BlockInfo:
|
||||
"""Get block info for the Bitcoin block at the given height.
|
||||
|
||||
Args:
|
||||
block_height: The height of the block.
|
||||
|
||||
Returns:
|
||||
BlockInfo: an object containing height, hash, and header.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue