Merge pull request #37 from shocknet/private-invoices
all invoices are now private
This commit is contained in:
commit
1d3daf9ce0
2 changed files with 3 additions and 2 deletions
|
|
@ -58,7 +58,8 @@ const listenerForAddr = (addr, user, SEA) => async (order, orderID) => {
|
|||
{
|
||||
expiry: 36000,
|
||||
memo,
|
||||
value: amount
|
||||
value: amount,
|
||||
private: true
|
||||
},
|
||||
(
|
||||
/** @type {any} */ error,
|
||||
|
|
|
|||
|
|
@ -1309,7 +1309,7 @@ module.exports = async (
|
|||
}
|
||||
return false;
|
||||
}
|
||||
const invoiceRequest = { memo: req.body.memo };
|
||||
const invoiceRequest = { memo: req.body.memo, private: true };
|
||||
if (req.body.value) {
|
||||
invoiceRequest.value = req.body.value;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue