Skip to content

Conversation

@guggero
Copy link
Contributor

@guggero guggero commented Mar 21, 2022

Fixes #457.
The SignOutputRaw RPC is normally too lenient when it comes to fields
not being set, which is why this used to work previously. But with lnd
in remote signing mode, we need all the extra meta information available
on an input being signed for, so we actually need the pk script being
set.
Loop fully works with a remote signing lnd backend pair after applying
this fix.

Pull Request Checklist

  • Update release_notes.md if your PR contains major features, breaking changes or bugfixes

Fixes lightninglabs#457.
The SignOutputRaw RPC is normally too lenient when it comes to fields
not being set, which is why this used to work previously. But with lnd
in remote signing mode, we need all the extra meta information available
on an input being signed for, so we actually need the pk script being
set.
Loop fully works with a remote signing lnd backend pair after applying
this fix.
@guggero guggero requested review from bhandras and carlaKC March 21, 2022 13:51
Copy link
Contributor

@arshbot arshbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Member

@bhandras bhandras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK, LGTM 👍

@guggero guggero merged commit d1ba70e into lightninglabs:master Mar 21, 2022
@guggero guggero deleted the sweeper-pk-script branch March 21, 2022 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sweeper: SignOutputRaw called without UTXO pk script

3 participants