synonymdev / bitkit

Self-custodial Bitcoin and Lightning Wallet for Android and iOS.
https://bitkit.to
MIT License
117 stars 22 forks source link

[Bug]: 0 balance and no activity after Spenings -> Savings transfer #2327

Open limpbrains opened 1 week ago

limpbrains commented 1 week ago

Describe the bug

I had one CJIT channel. I drained as many funds from it as I could. Then I closed it. Now I have a balance of 0, and there is no activity item regarding the channel closure. The closure reason is "ProcessingError."

Reproduce

  1. Open a CJIT
  2. Drained the wallet
  3. Close the channel

Screenshots / Recording

telegram-cloud-photo-size-2-5280761779510698230-y

telegram-cloud-photo-size-2-5280761779510698229-y

telegram-cloud-photo-size-2-5280761779510698231-y

telegram-cloud-photo-size-2-5280761779510698232-y

Operating system

Android, iOS

Bitkit version

No response

Log output

No response

limpbrains commented 1 week ago

After tx was confirmed it now says ready in 24 hours telegram-cloud-photo-size-2-5280761779510698243-y

limpbrains commented 1 week ago

https://mempool.space/ru/tx/be28eddd44b972c1acfcd07fd7b742dd5f17f25ed8f75aca30222dcbe2c90515

limpbrains commented 1 week ago

BT:

{
    "type": "force",
    "closingTx": "be28eddd44b972c1acfcd07fd7b742dd5f17f25ed8f75aca30222dcbe2c90515",
    "initiator": "client",
    "peerPubkey": "0225160ffb411e4e8a6d5f540ca876b621fa86575c484935225a5b91f05a81d47e",
    "lspPubkey": "03816141f1dce7782ec32b66a300783b1d436b19777e7c686ed00115bd4b88ff4b",
    "channelPoint": "30ddad99e210273434dfb6ccaed79be741218280591ffe989f8e5ad48549089c:0"
}
catch-21 commented 1 week ago

@SeverinAlexB I think the opening and closing is all on Blocktank side. Any idea whey the closing tx had 3 very small outputs (330 330 354)?

SeverinAlexB commented 1 week ago

@catch-21 That's normal. Two of these are the so called anchor outputs that are used to fee bump the channel (330sats each). The 3rd one is likely your side of the channel balance because 354 is the "not complete zero but zero enough" channel reserve.