do not send message on tip
This commit is contained in:
parent
1209911671
commit
26ff2e43d3
1 changed files with 0 additions and 13 deletions
|
|
@ -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