Remove warning if wallet does not support msats

This commit is contained in:
ekzyis 2025-01-21 00:25:47 +01:00
parent 020b914d0d
commit 181cb87c18

View File

@ -66,8 +66,6 @@ export async function createInvoice (userId, { msats, description, descriptionHa
if (BigInt(msats) - BigInt(bolt11.mtokens) >= 1000n) {
throw new Error('invoice invalid: amount too small')
}
logger.warn('wallet does not support msats')
}
return { invoice, wallet, logger }