rpcwallet+itest: fix incomplete key info problem

Fixes an issue with SignOutputRaw in remote signing mode where we
weren't able to sign on the remote signer if we only provided the public
key or only the family/index (and not both).

Fixes part of an issue detected in lightninglabs/loop#457.
This commit is contained in:
Oliver Gugger committed 2022-03-24 14:13:05 +01:00
1 parent 5bf9b710fc
commit 42b0aa9a8e
2 files changed
+80

No files matched your search

+6
View File
@@ -99,6 +99,12 @@ func testRemoteSigner(net *lntest.NetworkHarness, t *harnessTest) {
runPsbtChanFunding(net, tt, carol, wo)
runSignPsbt(tt, net, wo)
},
}, {
name: "sign output raw",
sendCoins: true,
fn: func(tt *harnessTest, wo, carol *lntest.HarnessNode) {
runSignOutputRaw(tt, net, wo)
},
}}
for _, st := range subTests {