From e800a586583968074db55966e656dce0605a9e01 Mon Sep 17 00:00:00 2001 From: mistakia <1823355+mistakia@users.noreply.github.com> Date: Fri, 19 Apr 2024 20:06:49 -0400 Subject: [PATCH] chore: cleanup logging --- cli/index.mjs | 8 -------- test/cli.test.mjs | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/cli/index.mjs b/cli/index.mjs index 8b2895d3..658f6525 100644 --- a/cli/index.mjs +++ b/cli/index.mjs @@ -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'), diff --git a/test/cli.test.mjs b/test/cli.test.mjs index 8cc18cde..fbaaf5c6 100644 --- a/test/cli.test.mjs +++ b/test/cli.test.mjs @@ -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) {