diff --git a/backend/controllers/shared/boltz.js b/backend/controllers/shared/boltz.js index f47395ecc..56b8356c6 100644 --- a/backend/controllers/shared/boltz.js +++ b/backend/controllers/shared/boltz.js @@ -88,7 +88,10 @@ export const createSwap = (req, res, next) => { } options.url = options.url + '/v1/createswap'; options.body = { amount: req.body.amount }; - if (req.body.address !== '') { + if (req.body.sendFromInternal) { + options.body.send_from_internal = req.body.sendFromInternal; + } + if (req.body.address && req.body.address !== '') { options.body.address = req.body.address; } logger.log({ selectedNode: req.session.selectedNode, level: 'DEBUG', fileName: 'Boltz', msg: 'Create Swap Options Body', data: options.body }); diff --git a/frontend/index.html b/frontend/index.html index 064b300d0..f7950e693 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -12,8 +12,8 @@ - +