Skip to content
Snippets Groups Projects
Commit e1be2c2e authored by inso's avatar inso
Browse files

Fixing key error

parent da1cade5
No related branches found
No related tags found
No related merge requests found
...@@ -25,8 +25,8 @@ class SigningKey(NaclSigningKey): ...@@ -25,8 +25,8 @@ class SigningKey(NaclSigningKey):
SCRYPT_PARAMS['N'], SCRYPT_PARAMS['r'], SCRYPT_PARAMS['p'], SCRYPT_PARAMS['N'], SCRYPT_PARAMS['r'], SCRYPT_PARAMS['p'],
SEED_LENGTH) SEED_LENGTH)
seedb64 = base64.b64encode(seed) seedb64 = base64.b64encode(seed)
super.__init__(seedb64, Base64Encoder) super().__init__(seedb64, Base64Encoder)
self.pubkey = Base58Encoder.encode(self.verify_key.key) self.pubkey = self.verify_key.encode(encoder=Base58Encoder)
class Base58Encoder(object): class Base58Encoder(object):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment