This commit is contained in:
Overtorment 2019-04-14 20:08:16 +01:00
parent 020cb8abf1
commit 3136b5932a

View File

@ -374,6 +374,14 @@ describe('LightningCustodianWallet', () => {
err = true; err = true;
} }
assert.ok(err); assert.ok(err);
err = false;
try {
await l1.addInvoice(NaN, 'zero amt inv');
} catch (_) {
err = true;
}
assert.ok(err);
}); });
it('cant pay negative free amount', async () => { it('cant pay negative free amount', async () => {