lightninglabs / lightninglabs/pool

[bug] Unable to recover accounts with a balance of less than 100k

Open
#281 1 comment 0 reactions 1 assignee View on GitHub

@guggero is already working on this.

Since Aug 19, 2021.

accounts bug
Dominant language
Go
Stars
259
Forks
51
PR merge metrics
No merged PRs in 30d

Description

I recently attempted to recover my pool account after having removed the Lightning Terminal app in Umbrel as part of troubleshooting connectivity. Upon running he accounts recover process it seemingly worked, but my account is now stuck in "PENDING_OPEN"

```
umbrel@hoz-umbrel:~$ sudo docker exec -it 412f /bin/bash
bash-5.1$ pool --tlscertpath=/data/.lit/tls.cert --rpcserver=localhost:8443 --macaroonpath=/data/.pool/mainnet/pool.macaroon accounts recover
{
"num_recovered_accounts": 0
}
bash-5.1$ pool --tlscertpath=/data/.lit/tls.cert --rpcserver=localhost:8443 --macaroonpath=/data/.pool/mainnet/pool.macaroon accounts list
{
"accounts": [
{
"trader_key": "03802dacb679b5055fb9cc057bc26fd906a2cb9a62daf3aaa84cb848b13888f1d0",
"outpoint": "bc3b0115804c64ca7d01c6968a309f27ab49c698b293b8da81d71ae5a3b6985e:0",
"value": 7483,
"available_balance": 7483,
"expiration_height": 705794,
"state": "PENDING_OPEN",
"latest_txid": "bc3b0115804c64ca7d01c6968a309f27ab49c698b293b8da81d71ae5a3b6985e"
}
]
}
```

Further troubleshooting of container in Umbrel showed the below log entry:

`unable to resume account 03802dacb679b5055fb9cc057bc26fd906a2cb9a62daf3aaa84cb848b13888f1d0: rpc error: code = Unknown desc = minimum account value allowed is 0.001 BTC`

refer to https://lightningcommunity.slack.com/archives/C01E0PRQ960/p1629110370057200 for more context

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.