From 12099116716736f50a0edba6ec77b3ffa90cd88f Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Tue, 10 Nov 2020 18:01:47 -0400 Subject: [PATCH 1/2] super peer is now https --- guntest.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guntest.html b/guntest.html index 151ed8d1..ece325a6 100644 --- a/guntest.html +++ b/guntest.html @@ -22,7 +22,7 @@ gun = Gun({ peers: [ - 'http://gun.shock.network:8765/gun', + 'https://gun.shock.network:8765/gun', //'http://gun2.shock.network:8765/gun' ], axe: false From 26ff2e43d3b729ca02800cc5239db7511394d374 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Wed, 11 Nov 2020 06:34:32 -0400 Subject: [PATCH 2/2] do not send message on tip --- services/gunDB/contact-api/actions.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/services/gunDB/contact-api/actions.js b/services/gunDB/contact-api/actions.js index 8ee68e04..197704dd 100644 --- a/services/gunDB/contact-api/actions.js +++ b/services/gunDB/contact-api/actions.js @@ -1065,19 +1065,6 @@ const sendSpontaneousPayment = async ( payment_request: orderResponse.response }) - if (Utils.successfulHandshakeAlreadyExists(to)) { - await sendMessage( - to, - Schema.encodeSpontaneousPayment( - amount, - memo || 'no memo', - payment.payment_preimage - ), - require('../Mediator').getUser(), - require('../Mediator').mySEA - ) - } - return payment } catch (e) { logger.error('Error inside sendPayment()')