add debug log

This commit is contained in:
Riccardo Balbo 2024-10-15 17:10:59 +02:00 committed by k00b
parent f438b278bc
commit 87c5634b55
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ export async function createInvoice (userId, { msats, description, descriptionHa
if (pendingWithdrawals + pendingForwards >= MAX_PENDING_INVOICES_PER_WALLET) {
throw new Error('wallet has too many pending invoices')
}
console.log('use wallet', walletType)
const invoice = await withTimeout(
createInvoice({