trivial: typo fix

This commit is contained in:
yyforyongyu committed 2021-09-23 13:24:15 +08:00
1 parent 3942c7ca02
commit 995b9a711f
3 files changed
+6 -7

No files matched your search

+2 -2
View File
@@ -1312,8 +1312,8 @@ func TestCircuitMapDeleteUnopenedCircuit(t *testing.T) {
}
}
// TestCircuitMapDeleteUnopenedCircuit checks that an open circuit can be
// removed persistently from the circuit map.
// TestCircuitMapDeleteOpenCircuit checks that an open circuit can be removed
// persistently from the circuit map.
func TestCircuitMapDeleteOpenCircuit(t *testing.T) {
t.Parallel()
+2 -2
View File
@@ -219,8 +219,8 @@ type Switch struct {
cfg *Config
// networkResults stores the results of payments initiated by the user.
// results. The store is used to later look up the payments and notify
// the user of the result when they are complete. Each payment attempt
// The store is used to later look up the payments and notify the
// user of the result when they are complete. Each payment attempt
// should be given a unique integer ID when it is created, otherwise
// results might be overwritten.
networkResults *networkResultStore