Skip to content
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

Lost Pool history after reinstalling #389

Closed
ForTheEndOfTheState opened this issue Sep 14, 2022 · 4 comments
Closed

Lost Pool history after reinstalling #389

ForTheEndOfTheState opened this issue Sep 14, 2022 · 4 comments

Comments

@ForTheEndOfTheState
Copy link

I logged into the Pool and saw the funds in the account = 140,314 sats.

So, I went to add more funds Founds Amount 1,000,000 , but when I press 'confirm' the message “Unable to deposit found” rpc error = Unknow dest unsupported 5120c95c... " is shown as error.

I was on onchain funds when I tried.

I reinstalled Lightning Terminal and after that, I was able to add funds to the account, but in a new account.

How can I see the transaction history and get the funds back 140,314 sats that are in the old account?

I'm using the Pool through Umbrel!

2022-09-13 21 50 12

@guggero
Copy link
Member

guggero commented Sep 14, 2022

Uninstalling the app means deleting its data. So the transaction history can't be restored at this time (see #381).
To get the funds back, you need to run account recovery. There's a step-by-step description here: lightninglabs/lightning-terminal#372 (comment)

@iksolon
Copy link

iksolon commented Sep 14, 2022

Screen Shot 2022-09-14 at 09 33 29

I opened a new issue #417, but I think it is the same problem.

@ForTheEndOfTheState
Copy link
Author

When I run the command:
pool --rpcserver=localhost:8443 --tls cert path=/.lit/tls.cert --macaroon path=/.pool/mainnet/pool.macaroon account list
It just shows me the new open channel.
I believe that if I run this command, I will close the pool I opened. The problem started when I tried to put funds in the pool and got the same error: #389 (comment)
My old account, I don't know how have access.

{
	"accounts": [
		{
			"trader_key": “031ad04a8f3 edited b6a8eb681b760c",
			"outpoint": “79c2597e796 edited 5ddeb55d0a8a3 edited 8c2f6b6f6da0604:1",
			"value": 2000000,
			"available_balance": 1440,
			"expiration_height": 766961,
			"state": "OPEN",
			"latest_txid": “79c2597e7962b28c edited cac5ddeb55d0a8a3214 edited b6f6da0604"
		}

@guggero
Copy link
Member

guggero commented Sep 15, 2022

You need to delete the pool.db file first, then run the account recovery. That will recover both accounts, the new one and the old. But you cannot run the account recovery as long as you already have an existing Pool database with an account in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants