Skip to content

Commit

Permalink
trivial: fix typo and nits
Browse files Browse the repository at this point in the history
  • Loading branch information
yyforyongyu committed Oct 23, 2023
1 parent 05fbe8b commit dba4c8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sweep/sweeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2150,7 +2150,7 @@ func TestFeeRateForPreference(t *testing.T) {
return 0, dummyErr
}

// Set the relay fee rate to be 1.
// Set the relay fee rate to be 1 sat/kw.
s.relayFeeRate = 1

// smallFeeFunc is a mock over DetermineFeePerKw that always return a
Expand Down Expand Up @@ -2198,7 +2198,7 @@ func TestFeeRateForPreference(t *testing.T) {
expectedErr: ErrNoFeePreference,
},
{
// When an error is returned from the fee determinor,
// When an error is returned from the fee determiner,
// we should return it.
name: "error from DetermineFeePerKw",
feePref: FeePreference{FeeRate: 1},
Expand Down

0 comments on commit dba4c8e

Please sign in to comment.