@@ -74,7 +74,7 @@ func TestBumpResultValidate(t *testing.T) {
74
74
// Unknown event type will give an error.
75
75
b = BumpResult {
76
76
Tx : & wire.MsgTx {},
77
- Event : sentinalEvent ,
77
+ Event : sentinelEvent ,
78
78
}
79
79
require .ErrorIs (t , b .Validate (), ErrInvalidBumpResult )
80
80
@@ -465,7 +465,7 @@ func TestCreateAndCheckTx(t *testing.T) {
465
465
//
466
466
// NOTE: we are not testing the utility of creating valid txes here, so
467
467
// this is fine to be mocked. This behaves essentially as skipping the
468
- // Signer check and alaways assume the tx has a valid sig.
468
+ // Signer check and always assume the tx has a valid sig.
469
469
script := & input.Script {}
470
470
m .signer .On ("ComputeInputScript" , mock .Anything ,
471
471
mock .Anything ).Return (script , nil )
@@ -558,7 +558,7 @@ func TestCreateRBFCompliantTx(t *testing.T) {
558
558
//
559
559
// NOTE: we are not testing the utility of creating valid txes here, so
560
560
// this is fine to be mocked. This behaves essentially as skipping the
561
- // Signer check and alaways assume the tx has a valid sig.
561
+ // Signer check and always assume the tx has a valid sig.
562
562
script := & input.Script {}
563
563
m .signer .On ("ComputeInputScript" , mock .Anything ,
564
564
mock .Anything ).Return (script , nil )
@@ -1128,9 +1128,9 @@ func TestBroadcastImmediate(t *testing.T) {
1128
1128
require .Empty (t , tp .subscriberChans .Len ())
1129
1129
}
1130
1130
1131
- // TestCreateAnPublishFail checks all the error cases are handled properly in
1132
- // the method createAndPublish .
1133
- func TestCreateAnPublishFail (t * testing.T ) {
1131
+ // TestCreateAndPublishFail checks all the error cases are handled properly in
1132
+ // the method createAndPublishTx .
1133
+ func TestCreateAndPublishFail (t * testing.T ) {
1134
1134
t .Parallel ()
1135
1135
1136
1136
// Create a publisher using the mocks.
@@ -1160,7 +1160,7 @@ func TestCreateAnPublishFail(t *testing.T) {
1160
1160
//
1161
1161
// NOTE: we are not testing the utility of creating valid txes here, so
1162
1162
// this is fine to be mocked. This behaves essentially as skipping the
1163
- // Signer check and alaways assume the tx has a valid sig.
1163
+ // Signer check and always assume the tx has a valid sig.
1164
1164
script := & input.Script {}
1165
1165
m .signer .On ("ComputeInputScript" , mock .Anything ,
1166
1166
mock .Anything ).Return (script , nil )
@@ -1198,9 +1198,9 @@ func TestCreateAnPublishFail(t *testing.T) {
1198
1198
require .True (t , resultOpt .IsNone ())
1199
1199
}
1200
1200
1201
- // TestCreateAnPublishSuccess checks the expected result is returned from the
1202
- // method createAndPublish .
1203
- func TestCreateAnPublishSuccess (t * testing.T ) {
1201
+ // TestCreateAndPublishSuccess checks the expected result is returned from the
1202
+ // method createAndPublishTx .
1203
+ func TestCreateAndPublishSuccess (t * testing.T ) {
1204
1204
t .Parallel ()
1205
1205
1206
1206
// Create a publisher using the mocks.
@@ -1226,7 +1226,7 @@ func TestCreateAnPublishSuccess(t *testing.T) {
1226
1226
//
1227
1227
// NOTE: we are not testing the utility of creating valid txes here, so
1228
1228
// this is fine to be mocked. This behaves essentially as skipping the
1229
- // Signer check and alaways assume the tx has a valid sig.
1229
+ // Signer check and always assume the tx has a valid sig.
1230
1230
script := & input.Script {}
1231
1231
m .signer .On ("ComputeInputScript" , mock .Anything ,
1232
1232
mock .Anything ).Return (script , nil )
@@ -1453,7 +1453,7 @@ func TestHandleFeeBumpTx(t *testing.T) {
1453
1453
//
1454
1454
// NOTE: we are not testing the utility of creating valid txes here, so
1455
1455
// this is fine to be mocked. This behaves essentially as skipping the
1456
- // Signer check and alaways assume the tx has a valid sig.
1456
+ // Signer check and always assume the tx has a valid sig.
1457
1457
script := & input.Script {}
1458
1458
m .signer .On ("ComputeInputScript" , mock .Anything ,
1459
1459
mock .Anything ).Return (script , nil )
@@ -1850,7 +1850,7 @@ func TestHandleInitialBroadcastSuccess(t *testing.T) {
1850
1850
//
1851
1851
// NOTE: we are not testing the utility of creating valid txes here, so
1852
1852
// this is fine to be mocked. This behaves essentially as skipping the
1853
- // Signer check and alaways assume the tx has a valid sig.
1853
+ // Signer check and always assume the tx has a valid sig.
1854
1854
script := & input.Script {}
1855
1855
m .signer .On ("ComputeInputScript" , mock .Anything ,
1856
1856
mock .Anything ).Return (script , nil )
@@ -1936,7 +1936,7 @@ func TestHandleInitialBroadcastFail(t *testing.T) {
1936
1936
//
1937
1937
// NOTE: we are not testing the utility of creating valid txes here, so
1938
1938
// this is fine to be mocked. This behaves essentially as skipping the
1939
- // Signer check and alaways assume the tx has a valid sig.
1939
+ // Signer check and always assume the tx has a valid sig.
1940
1940
script := & input.Script {}
1941
1941
m .signer .On ("ComputeInputScript" , mock .Anything ,
1942
1942
mock .Anything ).Return (script , nil )
0 commit comments