From cc3a605f427401c7d7c748eff725d34c10852e53 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Sat, 5 Jun 2021 16:14:17 -0400 Subject: [PATCH] Log out authed user public key --- testscript.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/testscript.js b/testscript.js index a6c2d7f5..4bb0446f 100644 --- a/testscript.js +++ b/testscript.js @@ -99,6 +99,12 @@ const cb = (data, key) => { if (typeof ack.err === 'string') { throw new Error(ack.err) } else if (typeof ack.pub === 'string' || typeof user._.sea === 'object') { + console.log(`\n`) + console.log(`public key:`) + console.log(`\n`) + console.log(ack.pub || user._.sea.pub) + console.log(`\n`) + // clock skew await new Promise(res => setTimeout(res, 2000)) } else {