Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions itest/litd_firewall_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,7 @@ func testChannelOpening(net *NetworkHarness, ht *harnessTest, t *testing.T) {
)
require.NoError(t, err)

// lastMemo is used to check that the memo field is unique accross
// lastMemo is used to check that the memo field is unique across
// different channel opens.
var lastMemo string
assertChannelExistsAndClose := func(txIdHidden []byte,
Expand All @@ -1135,7 +1135,7 @@ func testChannelOpening(net *NetworkHarness, ht *harnessTest, t *testing.T) {
net.Miner.MineBlocks(6)

// The channel open response's txid is to be interpreted as a
// byte reveresed hash, which is used to check that the channel
// byte reversed hash, which is used to check that the channel
// is present.
txHashHidden, err := chainhash.NewHash(txIdHidden)
require.NoError(t, err)
Expand Down
2 changes: 1 addition & 1 deletion rules/onchain_budget.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ func (o *OnChainBudgetEnforcer) checkFeeRate(satPerVByte uint64) error {
}

// formatReqId creates a unique identifier for the request that can be used to
// associate the action accross request-response handling.
// associate the action across request-response handling.
func formatReqId(lndConnID string, reqID int64) string {
return fmt.Sprintf("%s-%s-%d", memoPrefix, lndConnID, reqID)
}
Expand Down
2 changes: 1 addition & 1 deletion rules/onchain_budget_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ func TestHandleMemoResponse(t *testing.T) {
}
}

// TestRemoveMemo tests that request identifiers are correcly removed from the
// TestRemoveMemo tests that request identifiers are correctly removed from the
// memo string.
func TestRemoveMemo(t *testing.T) {
tests := []struct {
Expand Down
Loading