-
Notifications
You must be signed in to change notification settings - Fork 964
Description
A few days ago I did a submarine swap in order to rebalance a channel of mine. I opted to be refunded on-chain using a brand-new address generated with c-lightning newaddr command. I used the p2sh address because last time I had some issues with the bech32 version. Here is the point: the on-chain transaction has (at time of writing) more than 100 confirmations, but my c-lightning node still cannot show the output with the listfunds command. Using dev-rescan-outputs didn't get any results as well. Am I missing something? Has that utxo gone lost?
I also tried a blockchain rescanning from my bitcoind and I got no results at all.
Furthermore, maybe it isn't correlated, but I attemped the listtransactions command and then lightningd completely crashed with this error (from debug.log)
2019-12-18T21:03:07.232Z BROKEN lightningd(14319): Accessing a null column 2 in query SELECT t.id, t.rawtx, t.blockheight, t.txindex, t.type as txtype, c2.short_channel_id as txchan, a.location, a.idx as ann_idx, a.type as annotation_type, c.short_channel_id FROM transactions t LEFT JOIN transaction_annotations a ON (a.txid = t.id) LEFT JOIN channels c ON (a.channel = c.id) LEFT JOIN channels c2 ON (t.channel_id = c2.id) ORDER BY blockheight, txindex ASC