From 7b3bf2a063a5776c88d6e7eb9cbf5f3503bd40e6 Mon Sep 17 00:00:00 2001 From: Cryp Toon Date: Thu, 16 May 2024 07:13:16 +0200 Subject: [PATCH] Small update WalletKey docstring --- bitcoinlib/wallets.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bitcoinlib/wallets.py b/bitcoinlib/wallets.py index 4de9f11e..71704efd 100644 --- a/bitcoinlib/wallets.py +++ b/bitcoinlib/wallets.py @@ -546,14 +546,15 @@ def key(self): """ Get HDKey object for current WalletKey - :return HDKey: + :return HDKey, list of HDKey: """ self._hdkey_object = None if self.key_type == 'multisig': self._hdkey_object = [] for kc in self._dbkey.multisig_children: - self._hdkey_object.append(HDKey.from_wif(kc.child_key.wif, network=kc.child_key.network_name, compressed=self.compressed)) + self._hdkey_object.append(HDKey.from_wif(kc.child_key.wif, network=kc.child_key.network_name, + compressed=self.compressed)) if self._hdkey_object is None and self.wif: self._hdkey_object = HDKey.from_wif(self.wif, network=self.network_name, compressed=self.compressed) return self._hdkey_object