Merge pull request #1831 from stackernews/remove-msats-warning

Remove msats warning
This commit is contained in:
Keyan 2025-01-20 19:01:09 -06:00 committed by GitHub
commit 355abc7221
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 }