lnwallet/test: name testCase struct
This commit is contained in:
parent
997bab0343
commit
8b55c10e45
@ -341,13 +341,15 @@ type htlcDesc struct {
|
|||||||
resolutionTxHex string
|
resolutionTxHex string
|
||||||
}
|
}
|
||||||
|
|
||||||
// testCases encode the raw test vectors specified in Appendix C of BOLT 03.
|
type testCase struct {
|
||||||
var testCases = []struct {
|
|
||||||
commitment channeldb.ChannelCommitment
|
commitment channeldb.ChannelCommitment
|
||||||
htlcDescs []htlcDesc
|
htlcDescs []htlcDesc
|
||||||
expectedCommitmentTxHex string
|
expectedCommitmentTxHex string
|
||||||
remoteSigHex string
|
remoteSigHex string
|
||||||
}{
|
}
|
||||||
|
|
||||||
|
// testCases encode the raw test vectors specified in Appendix C of BOLT 03.
|
||||||
|
var testCases = []testCase{
|
||||||
{
|
{
|
||||||
commitment: channeldb.ChannelCommitment{
|
commitment: channeldb.ChannelCommitment{
|
||||||
CommitHeight: 42,
|
CommitHeight: 42,
|
||||||
|
Loading…
Reference in New Issue
Block a user