diff --git a/lnwallet/transactions_test.go b/lnwallet/transactions_test.go index 5f624b10a..cba6b0b44 100644 --- a/lnwallet/transactions_test.go +++ b/lnwallet/transactions_test.go @@ -341,13 +341,15 @@ type htlcDesc struct { resolutionTxHex string } -// testCases encode the raw test vectors specified in Appendix C of BOLT 03. -var testCases = []struct { +type testCase struct { commitment channeldb.ChannelCommitment htlcDescs []htlcDesc expectedCommitmentTxHex string remoteSigHex string -}{ +} + +// testCases encode the raw test vectors specified in Appendix C of BOLT 03. +var testCases = []testCase{ { commitment: channeldb.ChannelCommitment{ CommitHeight: 42,