-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.6.0-rc1] Can't use lightning after restore from seed #2797
Comments
I tried but couldn't reproduce this on current master. I see you're running on SPV. Did you run on SPV on the initial wallet as well? Also, I see you already have the LN account but it's at zero balance. Did you actually send funds to the LN account on the original wallet? Did you manually create the "LN account" on the restored wallet or is that a left over from the initial attempt to use the "create new account" option? |
I did not manually create the LN account. It was created when I clicked the "Start and Unlock LN wallet". I did send a very small amount of funds (0.02 DCR I think) to the LN account initially and funded a channel but I may have later closed it and withdrawn them. If I recall correctly, the wallet was SPV the first time as well. Currently if I wipe all traces of Decrediton and restore from an existing seed then I get this error again. I'll try it with a new seed later and let you know if it happens or not. |
I haven't been able to reproduce this specific error, but I did find a different error when restoring SPV wallets that afftects LN wallet restores (#2815), so maybe with this fix applied your error won't be triggered either. |
Sorry for the long delay testing. I've been busy.
There are other files at C:\Users\MyUserName\AppData\Local\Decrediton\wallets\mainnet\test1 like dcrwallet.conf and rpc.cert but the "dcrlnd" folder is missing |
Ok, I just followed this exact same procedure on both Linux and Windows, using the official rc3 binaries and didn't get your problem. Do you have any antivirus running on your machine? Maybe try turning it off if you do. Two alternatives to try and see if any errors are being thrown:
|
There was nothing useful in the decrediton logs but after running in PowerShell with --debug, now I see the issue. The key piece of info was this: I already had another service running on port 8080, SABnzbd which uses the same port by default. Once I shut down that service and restarted decrediton then my LN wallet started successfully. Perhaps you would like to consider changing the default port used by dcrlnd or I can just change sabnzbd to use a different port. Would be nice for that error to show up in decrediton logs but thanks a bunch for your help. |
Actually, I'll disable the REST service altogether for decrediton runs, since it's not really used. Thanks for the follow up! |
I installed Decrediton 1.6 and clicked the button to create a LN wallet account.
The wallet was created successfully and lightning was working.
Later, I reinstalled Decrediton by restoring from seed.
The lightning network tab has a button to "Start and Unlock LN Wallet" with options to "Create New" or "Use Existing"
If I choose "Use Existing" then I get the error below.
The path in the screenshot up to mainnet\sumiflow exists but the dcrlnd folder is missing.
Alternatively, if I choose "Create New" then I get an error that says "account named 'LN Account' already exists"
The text was updated successfully, but these errors were encountered: