diff --git a/services/gunDB/contact-api/actions.js b/services/gunDB/contact-api/actions.js index 1a9d4cf1..c067b4d3 100644 --- a/services/gunDB/contact-api/actions.js +++ b/services/gunDB/contact-api/actions.js @@ -1044,7 +1044,9 @@ const sendSpontaneousPayment = async ( const payment = await sendPaymentV2Invoice({ feeLimit, - payment_request: orderResponse.response + payment_request: orderResponse.response, + // avoid malformed invoice amount + amt: amount.toString() }) if (Utils.successfulHandshakeAlreadyExists(to)) {