Browse Source

Fix get_tx_info() type hint and doc

master
Kristaps Kaupe 2 years ago
parent
commit
d9fee292f4
No known key found for this signature in database
GPG Key ID: 33E472FE870C7E5D
  1. 4
      src/jmclient/wallet_utils.py

4
src/jmclient/wallet_utils.py

@ -365,12 +365,12 @@ class WalletView(WalletViewBase):
json_serialized.update(self.get_fmt_balance_json())
return json_serialized
def get_tx_info(txid: str, tx_cache: Optional[dict] = None) -> Tuple[
def get_tx_info(txid: bytes, tx_cache: Optional[dict] = None) -> Tuple[
bool, int, int, dict, int, btc.CTransaction]:
"""
Retrieve some basic information about the given transaction.
:param txid: txid as hex-str
:param txid: txid as binary
:param tx_cache: optional cache (dictionary) for get_transaction results
:return: tuple
is_coinjoin: bool

Loading…
Cancel
Save