Skip to content

Commit 238ceac

Browse files
committed
Fix: unknown arg name for all Seed from_mnemonic
1 parent 1f3b9c3 commit 238ceac

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

hdwallet/seeds/algorand.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def name(cls) -> str:
3838
return "Algorand"
3939

4040
@classmethod
41-
def from_mnemonic(cls, mnemonic: Union[str, IMnemonic]) -> str:
41+
def from_mnemonic(cls, mnemonic: Union[str, IMnemonic], **kwargs) -> str:
4242
"""
4343
Converts a mnemonic phrase to its corresponding seed.
4444

hdwallet/seeds/electrum/v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def name(cls) -> str:
4242
return "Electrum-V1"
4343

4444
@classmethod
45-
def from_mnemonic(cls, mnemonic: Union[str, IMnemonic]) -> str:
45+
def from_mnemonic(cls, mnemonic: Union[str, IMnemonic], **kwargs) -> str:
4646
"""
4747
Converts an Electrum V1 mnemonic phrase to its corresponding hashed entropy.
4848

hdwallet/seeds/iseed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ def seed(self) -> str:
6666

6767
@classmethod
6868
@abstractmethod
69-
def from_mnemonic(cls, mnemonic: Union[str, IMnemonic]) -> str:
69+
def from_mnemonic(cls, mnemonic: Union[str, IMnemonic], **kwargs) -> str:
7070
pass

hdwallet/seeds/monero.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def name(cls) -> str:
3838
return "Monero"
3939

4040
@classmethod
41-
def from_mnemonic(cls, mnemonic: Union[str, IMnemonic]) -> str:
41+
def from_mnemonic(cls, mnemonic: Union[str, IMnemonic], **kwargs) -> str:
4242
"""
4343
Converts a mnemonic phrase to its corresponding seed.
4444

0 commit comments

Comments
 (0)