File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ module.exports = {
2222 'security' ,
2323 'send' ,
2424 'settings' ,
25+ 'slashpay' ,
2526 'suggestions' ,
2627 'tokens' ,
2728 'transfer' ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import {
1414 getSelectedNetwork ,
1515 getSelectedWallet ,
1616} from '../wallet' ;
17- import { decodeLightningInvoice } from '../lightning' ;
17+ import { decodeLightningInvoice , waitForLdk } from '../lightning' ;
1818import { createLightningInvoice } from '../../store/actions/lightning' ;
1919import { getSettingsStore } from '../../store/helpers' ;
2020import { TAvailableNetworks } from '../networks' ;
@@ -188,6 +188,8 @@ export const updateSlashPayConfig = debounce(
188188 const payConfig : SlashPayConfig =
189189 ( await drive . get ( '/slashpay.json' ) . then ( decodeJSON ) . catch ( noop ) ) || [ ] ;
190190
191+ await waitForLdk ( ) ;
192+
191193 const { currentLightningNode } = getCurrentWallet ( {
192194 selectedWallet,
193195 selectedNetwork,
You can’t perform that action at this time.
0 commit comments