chantools: Removechannel: Error: channel not found
Thanks @guggero for upgrading chantools, it now wants to look at the channel DB. But my problem persists, I can’t seem to remove channel 726607861215526913.
Getchaninfo tells me the chan_point is 000. But chantools can’t find that. It can’t find the real chan_point either (got it from 1ml).
Hope you can assist. All my fee scripts are broken now 😅 .
[ ]# lncli feereport
[lncli] rpc error: code = Unknown desc = no policy for outgoing channel 726607861215526913
[ ]# lncli getchaninfo 726607861215526913
{
"channel_id": "726607861215526913",
"chan_point": "0000000000000000000000000000000000000000000000000000000000000000:0",
"last_update": 1627326628,
"node1_pub": "03ae9f91a0cb8ff43840e3c322c4c61f019d8c1c3cea15a25cfc425ac605e61a4a",
"node2_pub": "03e691f81f08c56fa876cc4ef5c9e8b727bd682cf35605be25d48607a802526053",
"capacity": "0",
"node1_policy": {
"time_lock_delta": 40,
"min_htlc": "1000",
"fee_base_msat": "1000",
"fee_rate_milli_msat": "1",
"disabled": true,
"max_htlc_msat": "1100000000",
"last_update": 1627326628
},
"node2_policy": null
}
[Stop LND]
[ ]# chantools removechannel --channeldb channel.db --channel 0000000000000000000000000000000000000000000000000000000000000000:0
2021-07-27 16:48:06.383 [INF] CHAN: chantools version v0.9.0 commit
2021-07-27 16:49:04.520 [INF] CHDB: Checking for schema update: latest_version=22, db_version=22
Error: channel not found
[..]
[ ]# chantools removechannel --channeldb channel.db --channel d3eb32c6294ec160133ef6800f9e35087b4ee94a07675357aebf4c9cef59f3cc:1
2021-07-27 16:49:14.231 [INF] CHAN: chantools version v0.9.0 commit
2021-07-27 16:49:14.243 [INF] CHDB: Checking for schema update: latest_version=22, db_version=22
Error: channel not found
[..]
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (17 by maintainers)
Feereport works again ❤️.
This is great. Will contact you on slack if you want some sats 😉.
Thanks. So. Much.