Skip to content

Commit

Permalink
To fix issue #108
Browse files Browse the repository at this point in the history
fixed the issue that keys.py#Line89 using the wrong parameter
  • Loading branch information
kcorlidy authored Jul 19, 2019
1 parent 1d9cd11 commit fbb3604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ecdsa/keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def from_public_key_recovery(klass, signature, data, curve, hashfunc=sha1, sigde
# returns a list of verifying keys for this signature and message

digest = hashfunc(data).digest()
return klass.from_public_key_recovery_with_digest(signature, digest, curve, hashfunc=sha1, sigdecode=sigdecode_string)
return klass.from_public_key_recovery_with_digest(signature, digest, curve, hashfunc=sha1, sigdecode=sigdecode)

@classmethod
def from_public_key_recovery_with_digest(klass, signature, digest, curve, hashfunc=sha1, sigdecode=sigdecode_string):
Expand Down

0 comments on commit fbb3604

Please sign in to comment.