remove old method

This commit is contained in:
Daniel Lugo 2020-11-03 13:59:09 -04:00
parent 7b84f250c1
commit b5ccd8f7ea

View file

@ -1062,9 +1062,7 @@ const sendSpontaneousPayment = async (
const payment = await sendPaymentV2Invoice({
feeLimit,
payment_request: orderResponse.response,
// avoid malformed invoice amount
amt: amount.toString()
payment_request: orderResponse.response
})
if (Utils.successfulHandshakeAlreadyExists(to)) {