From 831c96d47e02dfd704282857ae2bc21ceeb6c80c Mon Sep 17 00:00:00 2001 From: Jonathan Zernik Date: Thu, 7 Oct 2021 20:09:13 -0700 Subject: [PATCH] Add args to docstring for bitcoin client class (#1535) --- squeaknode/bitcoin/bitcoin_client.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/squeaknode/bitcoin/bitcoin_client.py b/squeaknode/bitcoin/bitcoin_client.py index 25ca03ff..37df311a 100644 --- a/squeaknode/bitcoin/bitcoin_client.py +++ b/squeaknode/bitcoin/bitcoin_client.py @@ -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.