{"action":"created","issue":{"url":"https://api.github.com/repos/lightningnetwork/lnd/issues/1075","repository_url":"https://api.github.com/repos/lightningnetwork/lnd","labels_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/1075/labels{/name}","comments_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/1075/comments","events_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/1075/events","html_url":"https://github.com/lightningnetwork/lnd/issues/1075","id":313306740,"number":1075,"title":"Pending channels stuck","user":{"login":"cactuska","id":6435918,"avatar_url":"https://avatars0.githubusercontent.com/u/6435918?v=4","gravatar_id":"","url":"https://api.github.com/users/cactuska","html_url":"https://github.com/cactuska","followers_url":"https://api.github.com/users/cactuska/followers","following_url":"https://api.github.com/users/cactuska/following{/other_user}","gists_url":"https://api.github.com/users/cactuska/gists{/gist_id}","starred_url":"https://api.github.com/users/cactuska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cactuska/subscriptions","organizations_url":"https://api.github.com/users/cactuska/orgs","repos_url":"https://api.github.com/users/cactuska/repos","events_url":"https://api.github.com/users/cactuska/events{/privacy}","received_events_url":"https://api.github.com/users/cactuska/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-11T12:42:31Z","updated_at":"2018-04-11T20:50:14Z","closed_at":null,"author_association":"NONE","body":"### Background\r\n\r\nI closed channels cooperatively, but they are still in pending channels\r\n\r\n### Your environment\r\n\r\n* version of `lnd`\r\nlncli version 0.4.1 commit=\r\n\r\n* which operating system (`uname -a` on *Nix)\r\nLinux btcnode 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux\r\n\r\n* version of `btcd`, `bitcoind`, or other backend\r\nBitcoin Core RPC client version v0.15.1\r\n\r\n* any other relevant environment details\r\n\r\n### Steps to reproduce\r\n\r\nClose a channel cooperatively\r\n\r\n### Expected behaviour\r\n\r\ndisappear from pending channels response object\r\n\r\n### Actual behaviour\r\n\r\nStill visible, however I have many confirmations.\r\nFunds displayed as confirmed, just the channels seems to be opened.\r\nEven Lnd, and bitcoind restart was not help\r\n\r\n[2018.04.11 - 14:36] pi@btcnode:~/scripts $ lncli pendingchannels\r\n{\r\n    \"total_limbo_balance\": \"1082814\",\r\n    \"pending_open_channels\": [\r\n    ],\r\n    \"pending_closing_channels\": [\r\n        {\r\n            \"channel\": {\r\n                \"remote_node_pub\": \"023668a30d0a27304695df3fb1af55a4fb75153eac34840817cae0e6a57894fd51\",\r\n                \"channel_point\": \"c72d2c7d9189fc19fc39f3eddef550146ce16167660225e6c2f57251d70c9432:1\",\r\n                \"capacity\": \"480035\",\r\n                \"local_balance\": \"479688\",\r\n                \"remote_balance\": \"0\"\r\n            },\r\n            \"closing_txid\": \"4e865dbcecadbb0248be757a111e77ae464a6a84d5d259349c032e65e294ec80\"\r\n        },\r\n        {\r\n            \"channel\": {\r\n                \"remote_node_pub\": \"02ad6fb8d693dc1e4569bcedefadf5f72a931ae027dc0f0c544b34c1c6f3b9a02b\",\r\n                \"channel_point\": \"1bfa046adf7a786183f9d162858430f57adedc654ffc645ec50401e0980110ae:1\",\r\n                \"capacity\": \"539366\",\r\n                \"local_balance\": \"539050\",\r\n                \"remote_balance\": \"0\"\r\n            },\r\n            \"closing_txid\": \"217c97e34c71162e824e716e463b70c527339d871fe62b7837c2a55322ab97c3\"\r\n        },\r\n        {\r\n            \"channel\": {\r\n                \"remote_node_pub\": \"028686d520cfdc8f7d234e879ea6fc7a963009afbcdafd0c40387e1cacfa1173ea\",\r\n                \"channel_point\": \"494a39a7605e673af7319fa7960519ae65ca97dcccd473ba7515917ce2d501b3:1\",\r\n                \"capacity\": \"64257\",\r\n                \"local_balance\": \"64076\",\r\n                \"remote_balance\": \"0\"\r\n            },\r\n            \"closing_txid\": \"682e59f68c835ce21e11b3aa08ae7ece0f15e18b0a6b1bed08fa1f5192d79dec\"\r\n        }\r\n    ],\r\n    \"pending_force_closing_channels\": [\r\n    ]\r\n}\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lightningnetwork/lnd/issues/comments/380591207","html_url":"https://github.com/lightningnetwork/lnd/issues/1075#issuecomment-380591207","issue_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/1075","id":380591207,"user":{"login":"Roasbeef","id":998190,"avatar_url":"https://avatars3.githubusercontent.com/u/998190?v=4","gravatar_id":"","url":"https://api.github.com/users/Roasbeef","html_url":"https://github.com/Roasbeef","followers_url":"https://api.github.com/users/Roasbeef/followers","following_url":"https://api.github.com/users/Roasbeef/following{/other_user}","gists_url":"https://api.github.com/users/Roasbeef/gists{/gist_id}","starred_url":"https://api.github.com/users/Roasbeef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roasbeef/subscriptions","organizations_url":"https://api.github.com/users/Roasbeef/orgs","repos_url":"https://api.github.com/users/Roasbeef/repos","events_url":"https://api.github.com/users/Roasbeef/events{/privacy}","received_events_url":"https://api.github.com/users/Roasbeef/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T20:50:14Z","updated_at":"2018-04-11T20:50:14Z","author_association":"MEMBER","body":"As all the transactions have been confirmed, all the funds were properly swept back into the wallet. However, it appears that the database state to mark them as fully closed wasn't persisted. "}}
{"actor":{"display_login":"Roasbeef"}}