From b5ccd8f7ea6f248075ec7ee8d270f3333e629aa3 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Tue, 3 Nov 2020 13:59:09 -0400 Subject: [PATCH] remove old method --- services/gunDB/contact-api/actions.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/gunDB/contact-api/actions.js b/services/gunDB/contact-api/actions.js index 77d72556..8ee68e04 100644 --- a/services/gunDB/contact-api/actions.js +++ b/services/gunDB/contact-api/actions.js @@ -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)) {