diff --git a/app/lib/common-libs/crypto/keyring.ts b/app/lib/common-libs/crypto/keyring.ts index f4db4b383dec7902215f36a88cacfdd1d175591d..9f9f31e741aa5827d183d22af89ec33d2c7fbf0c 100644 --- a/app/lib/common-libs/crypto/keyring.ts +++ b/app/lib/common-libs/crypto/keyring.ts @@ -72,8 +72,8 @@ export function randomKey() { } const keypair = nacl.sign.keyPair.fromSeed(byteseed) return new Key( - Base58encode(keypair.publicKey), - Base58encode(keypair.secretKey) + Base58encode(new Buffer(keypair.publicKey)), + Base58encode(new Buffer(keypair.secretKey)) ) }