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 (aka starting with 3...) 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 80 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 miss something? Have that utxo gone lost?
1 Answer
For readers, this issue has been solved by @cdecker here: https://github.com/ElementsProject/lightning/issues/3359.
TL;DR: Use the --rescan
startup parameter of lightningd
.
lightning-cli getinfo
has the same blockheight asbitcoin-cli getblockchaininfo
and it matches what blockexplorers say is the latest block? You can try rescanning using--rescan=-confirmationheight
(notice the minus in front of the absolute height).p2sh
outputs.