From 5e7f025c1a7c6586c2cd7dea2572295d8f262295 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Mon, 13 Sep 2021 06:20:56 -0400 Subject: [PATCH] Return empty pair if not authenticated --- utils/GunSmith/GunSmith.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/utils/GunSmith/GunSmith.js b/utils/GunSmith/GunSmith.js index 38ec68e8..27fe728c 100644 --- a/utils/GunSmith/GunSmith.js +++ b/utils/GunSmith/GunSmith.js @@ -431,7 +431,12 @@ function createUserReplica() { return { ...baseReplica._, // TODO - sea: lastPair + sea: lastPair || { + epriv: '', + epub: '', + priv: '', + pub: '' + } } }, get is() {