input+lnwallet: refactor select methods in input to use ChannelParty

This commit is contained in:
Keagan McClelland
2024-07-30 16:18:09 -07:00
parent 1a5b5c5f62
commit 3a15085014
4 changed files with 22 additions and 18 deletions

View File

@@ -48,7 +48,7 @@ func newTestSenderHtlcScriptTree(t *testing.T) *testSenderHtlcScriptTree {
payHash := preImage.Hash()
htlcScriptTree, err := SenderHTLCScriptTaproot(
senderKey.PubKey(), receiverKey.PubKey(), revokeKey.PubKey(),
payHash[:], false,
payHash[:], lntypes.Remote,
)
require.NoError(t, err)
@@ -471,7 +471,7 @@ func newTestReceiverHtlcScriptTree(t *testing.T) *testReceiverHtlcScriptTree {
payHash := preImage.Hash()
htlcScriptTree, err := ReceiverHTLCScriptTaproot(
cltvExpiry, senderKey.PubKey(), receiverKey.PubKey(),
revokeKey.PubKey(), payHash[:], false,
revokeKey.PubKey(), payHash[:], lntypes.Remote,
)
require.NoError(t, err)