mirror of
https://github.com/alexbosworth/balanceofsatoshis.git
synced 2026-08-13 12:33:37 +02:00
merge changes
This commit is contained in:
parent
c32abc21e6
commit
852047a629
3 changed files with 5 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"assumedOpenTransactionVbytes": 150,
|
||||
"defaultChannelActiveConfs": 6,
|
||||
"defaultFundingConfirmedBlocks": 3,
|
||||
"defaultFundingConfirmedBlocks": 6,
|
||||
"defaultLifetimeBlocks": 13000,
|
||||
"defaultLifetimeDays": 90
|
||||
}
|
||||
|
|
|
|||
|
|
@ -435,6 +435,8 @@ module.exports = (args, cbk) => {
|
|||
return;
|
||||
}
|
||||
|
||||
const confTarget = message.params.funding_confirms_within_blocks;
|
||||
|
||||
const response = stringify({
|
||||
id: message.id,
|
||||
jsonrpc: versionJsonRpc,
|
||||
|
|
@ -443,7 +445,7 @@ module.exports = (args, cbk) => {
|
|||
channel: null,
|
||||
channel_expiry_blocks: defaultLifetimeBlocks,
|
||||
client_balance_sat: Number().toString(),
|
||||
funding_confirms_within_blocks: message.params.funding_confirms_within_blocks,
|
||||
funding_confirms_within_blocks: confTarget,
|
||||
created_at: new Date().toISOString(),
|
||||
expires_at: expiryDate(orderExpiryMs),
|
||||
lsp_balance_sat: message.params.lsp_balance_sat,
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ const {sendMessageToPeer} = require('ln-service');
|
|||
|
||||
const {codeInvalidParameters} = require('./lsps1_protocol');
|
||||
const {defaultChannelActiveConfs} = require('./constants');
|
||||
const {defaultLifetimeBlocks} = require('./constants');
|
||||
const {defaultFundingConfirmedBlocks} = require('./constants')
|
||||
const {defaultLifetimeBlocks} = require('./constants');
|
||||
const {errMessageInvalidParams} = require('./lsps1_protocol');
|
||||
const {typeForMessaging} = require('./lsps1_protocol');
|
||||
const {versionJsonRpc} = require('./lsps1_protocol');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue