Skip to content

chore: fix some typos in comment #942

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 20, 2025
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