Skip to content

Commit 69349fb

Browse files
committed
Fix return type of 'from_hdwallet' in 'ExtendedSigningKey'
1 parent 87fb538 commit 69349fb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pycardano/key.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,8 @@ def from_hdwallet(cls, hdwallet: HDWallet) -> ExtendedSigningKey:
193193
"The hdwallet doesn't contain extended private key or chain code info."
194194
)
195195

196-
return Key(
196+
return ExtendedSigningKey(
197197
payload=hdwallet.xprivate_key + hdwallet.public_key + hdwallet.chain_code,
198-
type="PaymentExtendedSigningKeyShelley_ed25519_bip32",
199-
description="Payment Signing Key",
200198
)
201199

202200

0 commit comments

Comments
 (0)