Skip to content

Commit

Permalink
Merge pull request ZeusLN#1459 from kaloudis/lndhub-lnbits-onchain
Browse files Browse the repository at this point in the history
backends/LndHub: supportsOnchainReceiving: check for LNbits url
  • Loading branch information
kaloudis committed May 15, 2023
2 parents 8a4a122 + 5ff4bc3 commit 7d281e8
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 7d281e8

Please sign in to comment.