@@ -42,32 +42,32 @@ func TestOutPointsEqual(t *testing.T) {
42
42
// hash of inA is not the same as hash of inB
43
43
// index of inA is not the same as index of inB
44
44
{
45
- wire.OutPoint {Hash : hash1 , Index :u2 }, // inA
46
- wire.OutPoint {Hash : hash2 , Index :u1 }, // inB
45
+ wire.OutPoint {Hash : hash1 , Index : u2 }, // inA
46
+ wire.OutPoint {Hash : hash2 , Index : u1 }, // inB
47
47
false ,
48
48
},
49
49
50
50
// hash of inA is not the same as hash of inB
51
51
// index of inA is the same as index of inB
52
52
{
53
- wire.OutPoint {Hash : hash1 , Index :u1 }, // inA
54
- wire.OutPoint {Hash : hash2 , Index :u1 }, // inB
53
+ wire.OutPoint {Hash : hash1 , Index : u1 }, // inA
54
+ wire.OutPoint {Hash : hash2 , Index : u1 }, // inB
55
55
false ,
56
56
},
57
57
58
58
// hash of inA is the same as hash of inB
59
59
// index of inA is not the same as index of inB
60
60
{
61
- wire.OutPoint {Hash : hash1 , Index :u1 }, // inA
62
- wire.OutPoint {Hash : hash1 , Index :u2 }, // inB
61
+ wire.OutPoint {Hash : hash1 , Index : u1 }, // inA
62
+ wire.OutPoint {Hash : hash1 , Index : u2 }, // inB
63
63
false ,
64
64
},
65
65
66
66
// hash of inA is the same as hash of inB
67
67
// index of inA is the same as index of inB
68
68
{
69
- wire.OutPoint {Hash : hash1 , Index :u1 }, // inA
70
- wire.OutPoint {Hash : hash1 , Index :u1 }, // inB
69
+ wire.OutPoint {Hash : hash1 , Index : u1 }, // inA
70
+ wire.OutPoint {Hash : hash1 , Index : u1 }, // inB
71
71
true ,
72
72
},
73
73
@@ -81,13 +81,13 @@ func TestOutPointsEqual(t *testing.T) {
81
81
// hash of inA is just initialized
82
82
{
83
83
wire.OutPoint {Hash : [32 ]byte {}, Index : u1 }, // inA
84
- wire.OutPoint {Hash : hash1 , Index :u1 }, // inB
84
+ wire.OutPoint {Hash : hash1 , Index : u1 }, // inB
85
85
false ,
86
86
},
87
87
88
88
// hash of inB is just initialized
89
89
{
90
- wire.OutPoint {Hash : hash1 , Index :u1 }, // inA
90
+ wire.OutPoint {Hash : hash1 , Index : u1 }, // inA
91
91
wire.OutPoint {Hash : [32 ]byte {}, Index : u1 }, // inB
92
92
false ,
93
93
},
0 commit comments