itest: fix make lint

This commit is contained in:
yyforyongyu 2022-10-25 19:07:04 +08:00
parent 4f9f2f7901
commit 60da823396
No known key found for this signature in database
GPG Key ID: 9BCD95C4FF296868

View File

@ -554,8 +554,8 @@ func channelForceClosureTest(ht *lntemp.HarnessTest,
// the commitment transaction which was broadcast on-chain.
sweepTx := ht.Miner.GetRawTransaction(sweepingTXID)
for _, txIn := range sweepTx.MsgTx().TxIn {
require.Equal(ht, &txIn.PreviousOutPoint.Hash,
closingTxID, "sweep transaction not spending from commit")
require.Equal(ht, &txIn.PreviousOutPoint.Hash, closingTxID,
"sweep transaction not spending from commit")
}
// We expect a resolution which spends our commit output.