Skip to content

Commit

Permalink
added "connecting" condition when calling handlePubkeySpecificLightni…
Browse files Browse the repository at this point in the history
…ngAddressSettings
  • Loading branch information
myxmaster committed Jan 23, 2025
1 parent 54c4e4d commit 9d4c6f9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion views/Wallet/Wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,11 @@ export default class Wallet extends React.Component<WalletProps, WalletState> {
}
}

if (BackendUtils.supportsCustomPreimages() && !NodeInfoStore.testnet) {
if (
connecting &&
BackendUtils.supportsCustomPreimages() &&
!NodeInfoStore.testnet
) {
this.handlePubkeySpecificLightningAddressSettings();
}

Expand Down

0 comments on commit 9d4c6f9

Please sign in to comment.