add debug log
This commit is contained in:
parent
f438b278bc
commit
87c5634b55
|
@ -81,6 +81,7 @@ export async function createInvoice (userId, { msats, description, descriptionHa
|
||||||
if (pendingWithdrawals + pendingForwards >= MAX_PENDING_INVOICES_PER_WALLET) {
|
if (pendingWithdrawals + pendingForwards >= MAX_PENDING_INVOICES_PER_WALLET) {
|
||||||
throw new Error('wallet has too many pending invoices')
|
throw new Error('wallet has too many pending invoices')
|
||||||
}
|
}
|
||||||
|
console.log('use wallet', walletType)
|
||||||
|
|
||||||
const invoice = await withTimeout(
|
const invoice = await withTimeout(
|
||||||
createInvoice({
|
createInvoice({
|
||||||
|
|
Loading…
Reference in New Issue