mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2026-08-13 12:33:07 +02:00
Changed from channel_type to commitment_type
This commit is contained in:
parent
d478356076
commit
74af120c8f
13 changed files with 14 additions and 12 deletions
|
|
@ -140,8 +140,8 @@ 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;
|
||||
if (req.body.commitment_type) {
|
||||
options.form.commitment_type = req.body.commitment_type;
|
||||
}
|
||||
options.form = JSON.stringify(options.form);
|
||||
logger.log({ selectedNode: req.session.selectedNode, level: 'DEBUG', fileName: 'Channels', msg: 'Channel Open Options', data: options.form });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue