tip invoices now use forwardFee
changed internalFee for tip invoices to forwardFee
This commit is contained in:
parent
28dd3a847a
commit
1b1fe8f08b
@ -322,7 +322,7 @@ router.post('/payinvoice', async function (req, res) {
|
|||||||
let inv = {
|
let inv = {
|
||||||
payment_request: req.body.invoice,
|
payment_request: req.body.invoice,
|
||||||
amt: info.num_satoshis, // amt is used only for 'tip' invoices
|
amt: info.num_satoshis, // amt is used only for 'tip' invoices
|
||||||
fee_limit: { fixed: Math.floor(info.num_satoshis * internalFee) + 1 }, // fee setting was 0.005 now set as internalFee
|
fee_limit: { fixed: Math.floor(info.num_satoshis * forwardFee) + 1 },
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
await u.lockFunds(req.body.invoice, info);
|
await u.lockFunds(req.body.invoice, info);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user