Lost Pool history after reinstalling
ForTheEndOfTheState opened this issue · 4 comments
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!
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)
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"
}
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.