Merge pull request #1831 from stackernews/remove-msats-warning
Remove msats warning
This commit is contained in:
commit
355abc7221
@ -66,8 +66,6 @@ export async function createInvoice (userId, { msats, description, descriptionHa
|
|||||||
if (BigInt(msats) - BigInt(bolt11.mtokens) >= 1000n) {
|
if (BigInt(msats) - BigInt(bolt11.mtokens) >= 1000n) {
|
||||||
throw new Error('invoice invalid: amount too small')
|
throw new Error('invoice invalid: amount too small')
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.warn('wallet does not support msats')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return { invoice, wallet, logger }
|
return { invoice, wallet, logger }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user