From bdf23e78e4877f4170c5c220bbfda7b60fdfb093 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Wed, 29 Jan 2020 23:29:56 -0400 Subject: [PATCH] logging --- services/gunDB/contact-api/events/onSentReqs.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/services/gunDB/contact-api/events/onSentReqs.js b/services/gunDB/contact-api/events/onSentReqs.js index ad6decf1..78c9abdf 100644 --- a/services/gunDB/contact-api/events/onSentReqs.js +++ b/services/gunDB/contact-api/events/onSentReqs.js @@ -63,6 +63,13 @@ const react = () => { }) } + if (finalSentReqs.length > 0) { + console.log('-------------------------') + console.log('pub to incoming') + console.log(pubToIncoming) + console.log('-------------------------') + } + currentReqs = finalSentReqs listeners.forEach(l => l(currentReqs))