lnwallet/test: name testCase struct

This commit is contained in:
Joost Jager 2020-06-02 14:40:33 +02:00
parent 997bab0343
commit 8b55c10e45
No known key found for this signature in database
GPG key ID: A61B9D4C393C59C7

View file

@ -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,