Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff S committed Feb 27, 2022
1 parent 0ac938f commit 38ed14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/urtypes/crypto/hd_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def descriptor_key(self):
return self.bip32_key(True)

@classmethod
def from_descriptor_key(self, descriptor_key):
def from_descriptor_key(cls, descriptor_key):
key_origin, xpub = descriptor_key.split("]", 1)
key_origin = key_origin.lstrip("[")
source_fingerprint, derivation = key_origin.split("/", 1)
Expand Down

0 comments on commit 38ed14e

Please sign in to comment.