From 5ff4bc391ddabdb0d3c05873b7c83141f1a9a916 Mon Sep 17 00:00:00 2001 From: Evan Kaloudis Date: Fri, 12 May 2023 13:37:16 -0400 Subject: [PATCH] backends/LndHub: supportsOnchainReceiving: check for LNbits url --- backends/LndHub.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backends/LndHub.ts b/backends/LndHub.ts index 90ae1313b..48a7c225f 100644 --- a/backends/LndHub.ts +++ b/backends/LndHub.ts @@ -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;