trivial: fix typo and nits

This commit is contained in:
yyforyongyu
2023-10-17 18:24:24 +08:00
parent 05fbe8b116
commit dba4c8e5ad

View File

@@ -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
@@ -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},