Skip to content

Commit

Permalink
chore: cleanup logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mistakia committed Jun 17, 2024
1 parent 11e73ff commit aab7981
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions cli/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,6 @@ const revoke_signing_key = {
nano_account_public_key: public_key
})

console.log({
signature,
linked_public_key,
nano_account_address,
private_key,
public_key
})

const payload = {
account: nano_account_address,
public_key: linked_public_key.toString('hex'),
Expand Down
2 changes: 1 addition & 1 deletion test/cli.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe('CLI', function () {
// eslint-disable-next-line no-unused-expressions
expect(stderr).to.be.empty
expect(stdout).to.include('Key registration successful')

// Extract the new signing key from stdout
const match = stdout.match(/linked_public_key: '([a-f0-9]+)'/)
if (match) {
Expand Down

0 comments on commit aab7981

Please sign in to comment.