diff --git a/lntest/harness.go b/lntest/harness.go index 2eed2af58..58e0256ee 100644 --- a/lntest/harness.go +++ b/lntest/harness.go @@ -175,7 +175,7 @@ func (h *HarnessTest) Context() context.Context { // node's wallets will be funded wallets with 10x10 BTC outputs each. func (h *HarnessTest) SetupStandbyNodes() { h.Log("Setting up standby nodes Alice and Bob...") - defer h.Log("Finshed the setup, now running tests...") + defer h.Log("Finished the setup, now running tests...") lndArgs := []string{ "--default-remote-max-htlcs=483", diff --git a/lntest/harness_node_manager.go b/lntest/harness_node_manager.go index 9cb69a54f..dd1b59ea3 100644 --- a/lntest/harness_node_manager.go +++ b/lntest/harness_node_manager.go @@ -12,7 +12,7 @@ import ( "github.com/lightningnetwork/lnd/lntest/wait" ) -// nodeManager is responsible for hanlding the start and stop of a given node. +// nodeManager is responsible for handling the start and stop of a given node. // It also keeps track of the running nodes. type nodeManager struct { sync.Mutex diff --git a/sweep/sweeper_test.go b/sweep/sweeper_test.go index b50ce929f..3054c9f0c 100644 --- a/sweep/sweeper_test.go +++ b/sweep/sweeper_test.go @@ -2420,7 +2420,7 @@ func TestClusterByLockTime(t *testing.T) { remainingInputs, ) - // Assert the mocked methods are called as expeceted. + // Assert the mocked methods are called as expected. input1LockTime1.AssertExpectations(t) input2LockTime1.AssertExpectations(t) input3LockTime2.AssertExpectations(t) diff --git a/sweep/txgenerator.go b/sweep/txgenerator.go index 3d3706303..45341cc8c 100644 --- a/sweep/txgenerator.go +++ b/sweep/txgenerator.go @@ -186,7 +186,7 @@ func createSweepTx(inputs []input.Input, outputs []*wire.TxOut, if lt, ok := o.RequiredLockTime(); ok { // If another input commits to a different locktime, - // they cannot be combined in the same transcation. + // they cannot be combined in the same transaction. if locktime != -1 && locktime != int32(lt) { return nil, fmt.Errorf("incompatible locktime") }