Add args to docstring for bitcoin client class (#1535)

This commit is contained in:
Jonathan Zernik 2021-10-07 20:09:13 -07:00 committed by GitHub
parent 545d45299a
commit 831c96d47e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.