@@ -73,7 +73,7 @@ func TestBumpResultValidate(t *testing.T) {
73
73
// Unknown event type will give an error.
74
74
b = BumpResult {
75
75
Tx : & wire.MsgTx {},
76
- Event : sentinalEvent ,
76
+ Event : sentinelEvent ,
77
77
}
78
78
require .ErrorIs (t , b .Validate (), ErrInvalidBumpResult )
79
79
@@ -457,7 +457,7 @@ func TestCreateAndCheckTx(t *testing.T) {
457
457
//
458
458
// NOTE: we are not testing the utility of creating valid txes here, so
459
459
// this is fine to be mocked. This behaves essentially as skipping the
460
- // Signer check and alaways assume the tx has a valid sig.
460
+ // Signer check and always assume the tx has a valid sig.
461
461
script := & input.Script {}
462
462
m .signer .On ("ComputeInputScript" , mock .Anything ,
463
463
mock .Anything ).Return (script , nil )
@@ -550,7 +550,7 @@ func TestCreateRBFCompliantTx(t *testing.T) {
550
550
//
551
551
// NOTE: we are not testing the utility of creating valid txes here, so
552
552
// this is fine to be mocked. This behaves essentially as skipping the
553
- // Signer check and alaways assume the tx has a valid sig.
553
+ // Signer check and always assume the tx has a valid sig.
554
554
script := & input.Script {}
555
555
m .signer .On ("ComputeInputScript" , mock .Anything ,
556
556
mock .Anything ).Return (script , nil )
@@ -1120,9 +1120,9 @@ func TestBroadcastImmediate(t *testing.T) {
1120
1120
require .Empty (t , tp .subscriberChans .Len ())
1121
1121
}
1122
1122
1123
- // TestCreateAnPublishFail checks all the error cases are handled properly in
1124
- // the method createAndPublish .
1125
- func TestCreateAnPublishFail (t * testing.T ) {
1123
+ // TestCreateAndPublishFail checks all the error cases are handled properly in
1124
+ // the method createAndPublishTx .
1125
+ func TestCreateAndPublishFail (t * testing.T ) {
1126
1126
t .Parallel ()
1127
1127
1128
1128
// Create a publisher using the mocks.
@@ -1152,7 +1152,7 @@ func TestCreateAnPublishFail(t *testing.T) {
1152
1152
//
1153
1153
// NOTE: we are not testing the utility of creating valid txes here, so
1154
1154
// this is fine to be mocked. This behaves essentially as skipping the
1155
- // Signer check and alaways assume the tx has a valid sig.
1155
+ // Signer check and always assume the tx has a valid sig.
1156
1156
script := & input.Script {}
1157
1157
m .signer .On ("ComputeInputScript" , mock .Anything ,
1158
1158
mock .Anything ).Return (script , nil )
@@ -1190,9 +1190,9 @@ func TestCreateAnPublishFail(t *testing.T) {
1190
1190
require .True (t , resultOpt .IsNone ())
1191
1191
}
1192
1192
1193
- // TestCreateAnPublishSuccess checks the expected result is returned from the
1194
- // method createAndPublish .
1195
- func TestCreateAnPublishSuccess (t * testing.T ) {
1193
+ // TestCreateAndPublishSuccess checks the expected result is returned from the
1194
+ // method createAndPublishTx .
1195
+ func TestCreateAndPublishSuccess (t * testing.T ) {
1196
1196
t .Parallel ()
1197
1197
1198
1198
// Create a publisher using the mocks.
@@ -1218,7 +1218,7 @@ func TestCreateAnPublishSuccess(t *testing.T) {
1218
1218
//
1219
1219
// NOTE: we are not testing the utility of creating valid txes here, so
1220
1220
// this is fine to be mocked. This behaves essentially as skipping the
1221
- // Signer check and alaways assume the tx has a valid sig.
1221
+ // Signer check and always assume the tx has a valid sig.
1222
1222
script := & input.Script {}
1223
1223
m .signer .On ("ComputeInputScript" , mock .Anything ,
1224
1224
mock .Anything ).Return (script , nil )
@@ -1445,7 +1445,7 @@ func TestHandleFeeBumpTx(t *testing.T) {
1445
1445
//
1446
1446
// NOTE: we are not testing the utility of creating valid txes here, so
1447
1447
// this is fine to be mocked. This behaves essentially as skipping the
1448
- // Signer check and alaways assume the tx has a valid sig.
1448
+ // Signer check and always assume the tx has a valid sig.
1449
1449
script := & input.Script {}
1450
1450
m .signer .On ("ComputeInputScript" , mock .Anything ,
1451
1451
mock .Anything ).Return (script , nil )
@@ -1830,7 +1830,7 @@ func TestHandleInitialBroadcastSuccess(t *testing.T) {
1830
1830
//
1831
1831
// NOTE: we are not testing the utility of creating valid txes here, so
1832
1832
// this is fine to be mocked. This behaves essentially as skipping the
1833
- // Signer check and alaways assume the tx has a valid sig.
1833
+ // Signer check and always assume the tx has a valid sig.
1834
1834
script := & input.Script {}
1835
1835
m .signer .On ("ComputeInputScript" , mock .Anything ,
1836
1836
mock .Anything ).Return (script , nil )
@@ -1916,7 +1916,7 @@ func TestHandleInitialBroadcastFail(t *testing.T) {
1916
1916
//
1917
1917
// NOTE: we are not testing the utility of creating valid txes here, so
1918
1918
// this is fine to be mocked. This behaves essentially as skipping the
1919
- // Signer check and alaways assume the tx has a valid sig.
1919
+ // Signer check and always assume the tx has a valid sig.
1920
1920
script := & input.Script {}
1921
1921
m .signer .On ("ComputeInputScript" , mock .Anything ,
1922
1922
mock .Anything ).Return (script , nil )
0 commit comments