We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bf81b5 commit c2ac309Copy full SHA for c2ac309
lib/util/credentialStore.ts
@@ -178,15 +178,17 @@ export default class LncCredentialStore implements CredentialStore {
178
if (!memoryOnly) {
179
const key = `${STORAGE_KEY}:${this.namespace}`;
180
localStorage.removeItem(key);
181
+
182
+ this.persisted = {
183
+ salt: '',
184
+ cipher: '',
185
+ serverHost: this.persisted.serverHost,
186
+ localKey: '',
187
+ remoteKey: '',
188
+ pairingPhrase: ''
189
+ };
190
}
- this.persisted = {
- salt: '',
- cipher: '',
- serverHost: this.persisted.serverHost,
- localKey: '',
- remoteKey: '',
- pairingPhrase: ''
- };
191
192
this._localKey = '';
193
this._remoteKey = '';
194
this._pairingPhrase = '';
0 commit comments