avoid malformed invoice amount
This commit is contained in:
parent
ca615cd69f
commit
404c8125df
1 changed files with 3 additions and 1 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue