commit
a71e90a819
2 changed files with 1 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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()')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue