mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
TST
This commit is contained in:
parent
d428834f16
commit
b5569964dc
@ -167,7 +167,7 @@ describe('LightningCustodianWallet', () => {
|
||||
},
|
||||
body: '{"amount": "0.01", "currency": "USD"}',
|
||||
});
|
||||
if (!res.body.data || !res.body.data.lightning_invoice || !res.body.data.lightning_invoice.payreq) {
|
||||
if (!res.body || !res.body.data || !res.body.data.lightning_invoice || !res.body.data.lightning_invoice.payreq) {
|
||||
throw new Error('Opennode problem');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user