mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 22:25:24 +01:00
lnwallet/test: name testCase struct
This commit is contained in:
parent
997bab0343
commit
8b55c10e45
1 changed files with 5 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue