diff --git a/backend/controllers/shared/boltz.js b/backend/controllers/shared/boltz.js index 716b9fc7..f47395ec 100644 --- a/backend/controllers/shared/boltz.js +++ b/backend/controllers/shared/boltz.js @@ -109,7 +109,7 @@ export const createReverseSwap = (req, res, next) => { return res.status(err.statusCode).json({ message: err.message, error: err.error }); } options.url = options.url + '/v1/createreverseswap'; - options.body = { amount: req.body.amount }; + options.body = { amount: req.body.amount, accept_zero_conf: req.body.acceptZeroConf || false }; if (req.body.address !== '') { options.body.address = req.body.address; } diff --git a/frontend/index.html b/frontend/index.html index f066a7dd..9381648a 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -12,8 +12,8 @@ - +