Skip to content

Commit

Permalink
backends/LndHub: supportsOnchainReceiving: check for LNbits url
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed May 12, 2023
1 parent 018a74c commit 5ff4bc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backends/LndHub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ export default class LndHub extends LND {
supportsOnchainReceiving = () =>
!(
stores.settingsStore.lndhubUrl.includes('lnbank/api/lndhub') ||
stores.settingsStore.lndhubUrl.includes('lntxbot')
stores.settingsStore.lndhubUrl.includes('lntxbot') ||
// LNBits
stores.settingsStore.lndhubUrl.includes('/lndhub/ext/')
);
supportsKeysend = () => false;
supportsChannelManagement = () => false;
Expand Down

0 comments on commit 5ff4bc3

Please sign in to comment.