Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bast committed Nov 28, 2023
1 parent ccad29b commit 4876605
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ internal data class Commitments(
fr.acinq.lightning.channel.PartiallySignedSharedTransaction(
fr.acinq.lightning.channel.SharedTransaction(null, InteractiveTxOutput.Shared(0, commitInput.txOut.publicKeyScript, localCommit.spec.toLocal, localCommit.spec.toRemote), listOf(), listOf(), listOf(), listOf(), 0),
// We must correctly set the txId here.
TxSignatures(channelId, TxId(commitInput.outPoint.hash), listOf()),
TxSignatures(channelId, commitInput.outPoint.txid, listOf()),
),
fr.acinq.lightning.channel.InteractiveTxParams(channelId, localParams.isFunder, commitInput.txOut.amount, commitInput.txOut.amount, remoteParams.fundingPubKey, 0, localParams.dustLimit, localCommit.spec.feerate),
0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ internal data class Commitments(
fr.acinq.lightning.channel.PartiallySignedSharedTransaction(
fr.acinq.lightning.channel.SharedTransaction(null, InteractiveTxOutput.Shared(0, commitInput.txOut.publicKeyScript, localCommit.spec.toLocal, localCommit.spec.toRemote), listOf(), listOf(), listOf(), listOf(), 0),
// We must correctly set the txId here.
TxSignatures(channelId, TxId(commitInput.outPoint.hash), listOf()),
TxSignatures(channelId, commitInput.outPoint.txid, listOf()),
),
fr.acinq.lightning.channel.InteractiveTxParams(channelId, localParams.isFunder, commitInput.txOut.amount, commitInput.txOut.amount, remoteParams.fundingPubKey, 0, localParams.dustLimit, localCommit.spec.feerate),
0
Expand Down

0 comments on commit 4876605

Please sign in to comment.