diff --git a/htlcswitch/test_utils.go b/htlcswitch/test_utils.go index 0e6b3f1c..6a10f5ea 100644 --- a/htlcswitch/test_utils.go +++ b/htlcswitch/test_utils.go @@ -185,6 +185,7 @@ func createTestChannel(alicePrivKey, bobPrivKey []byte, Capacity: channelCapacity, LocalBalance: lnwire.NewMSatFromSatoshis(aliceAmount - commitFee), RemoteBalance: lnwire.NewMSatFromSatoshis(bobAmount), + CommitFee: commitFee, CommitTx: *aliceCommitTx, CommitSig: bytes.Repeat([]byte{1}, 71), RemoteCurrentRevocation: bobCommitPoint, @@ -204,6 +205,7 @@ func createTestChannel(alicePrivKey, bobPrivKey []byte, Capacity: channelCapacity, LocalBalance: lnwire.NewMSatFromSatoshis(bobAmount), RemoteBalance: lnwire.NewMSatFromSatoshis(aliceAmount - commitFee), + CommitFee: commitFee, CommitTx: *bobCommitTx, CommitSig: bytes.Repeat([]byte{1}, 71), RemoteCurrentRevocation: aliceCommitPoint,