Monday icon indicating copy to clipboard operation
Monday copied to clipboard

Bug: Wallet creation

Open reez opened this issue 8 months ago • 1 comments

Describe the bug Wallet gets created even if you dont want it to

reez avatar May 09 '25 19:05 reez

Without testing, my theory is that this has to do with .reset of LightningNodeService. If the LightningNodeService is .init without there being a saved mnemonic in the keychain, it will simply create a new one.

Some thoughts for how to handle this:

  • Refactor so that the node service does not start if no mnemonic is found in keychain? (make it a parameter that needs to be passed in)
  • This might mean making LightningNodeClient an optional in WalletClient

danielnordh avatar May 16 '25 13:05 danielnordh

this might be fixed in 204

reez avatar Jun 25 '25 19:06 reez