Skip to content

UI: Loop out to external address accepts invalid address (node public key) as input #368

@Buttafuoco

Description

@Buttafuoco

I have performed a Loop Out via Litd - local web interface. Is highlighted as

'Temporary Failure' (The swap cannot continue due to an internal error. Manual intervention such as a restart is required.)

The inbound liquidity is present, the funds is out of my node

I've copied a new generated address from lncli in to the 'destination' space. Confirmation target as default

lncli newaddress p2wkh

Could this have been the reason for the failure, instead of letting the software do it automatically?
htlc_address and htlc_address_p2wsh have to be the same?

this is the log of LIT
../lit/logs/mainnet/litd.log
Untitled

~$ litloop swapinfo ab617d2d9f52884e6e199b6a9ea3541ce0021655c639446853e95779df924c7e
{
"amt": "3780000",
"id": "ab617d2d9f52884e6e199b6a9ea3541ce0021655c639446853e95779df924c7e",
"id_bytes": "ab617d2d9f52884e6e199b6a9ea3541ce0021655c639446853e95779df924c7e",
"type": "LOOP_OUT",
"state": "FAILED",
"failure_reason": "FAILURE_REASON_TEMPORARY",
"initiation_time": "1652561310747912143",
"last_update_time": "1652561310747912143",
"htlc_address": "bc1qxh5aj0a9q7cgzhyqajvq4u4wjpkjez9ah8pl8mspaaetpwkd34aqkxg6hy",
"htlc_address_p2wsh": "bc1qxh5aj0a9q7cgzhyqajvq4u4wjpkjez9ah8pl8mspaaetpwkd34aqkxg6hy",
"htlc_address_np2wsh": "",
"cost_server": "30000",
"cost_onchain": "0",
"cost_offchain": "60",
"label": ""
}

this is the receiving address:
https://blockstream.info/address/bc1qxh5aj0a9q7cgzhyqajvq4u4wjpkjez9ah8pl8mspaaetpwkd34aqkxg6hy

at this link complete log with all 'loop' string:
https://pastebin.com/pmaa6RAF

System information
OS: Debian 11 x86_64
Kernel: 5.10.0-14-amd64
Litd version 0.14.3-beta commit=lightning-terminal-v0.6.7-alpha

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions