Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
fix: implicit account shows correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
gagdiez committed Feb 20, 2024
1 parent aeffcf3 commit 83ba67c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/credentials/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = {
};

function pKtoAccountId(publicKey) {
return decode(publicKey.replace('ed25519:', '')).toString('hex');
return Buffer.from(decode(publicKey.replace('ed25519:', ''))).toString('hex');
}

async function generateKey(options) {
Expand Down

0 comments on commit 83ba67c

Please sign in to comment.