mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2026-08-13 12:33:07 +02:00
LND Taproot Channel
This commit is contained in:
parent
53eb5f086b
commit
d478356076
20 changed files with 71 additions and 29 deletions
|
|
@ -141,7 +141,11 @@ export const postChannel = (req, res, next) => {
|
|||
else if (req.body.trans_type === '2') {
|
||||
options.form.sat_per_byte = req.body.trans_type_value;
|
||||
}
|
||||
if (req.body.channel_type !== '') {
|
||||
options.form.channel_type = req.body.channel_type;
|
||||
}
|
||||
options.form = JSON.stringify(options.form);
|
||||
logger.log({ selectedNode: req.session.selectedNode, level: 'DEBUG', fileName: 'Channels', msg: 'Channel Open Options', data: options.form });
|
||||
request.post(options).then((body) => {
|
||||
logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Channels', msg: 'Channel Opened', data: body });
|
||||
res.status(201).json(body);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue