mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
trivial: typo fix
This commit is contained in:
parent
3942c7ca02
commit
995b9a711f
3 changed files with 6 additions and 7 deletions
|
@ -1787,13 +1787,12 @@ func (h *HTLC) Copy() HTLC {
|
||||||
|
|
||||||
// LogUpdate represents a pending update to the remote commitment chain. The
|
// LogUpdate represents a pending update to the remote commitment chain. The
|
||||||
// log update may be an add, fail, or settle entry. We maintain this data in
|
// log update may be an add, fail, or settle entry. We maintain this data in
|
||||||
// order to be able to properly retransmit our proposed
|
// order to be able to properly retransmit our proposed state if necessary.
|
||||||
// state if necessary.
|
|
||||||
type LogUpdate struct {
|
type LogUpdate struct {
|
||||||
// LogIndex is the log index of this proposed commitment update entry.
|
// LogIndex is the log index of this proposed commitment update entry.
|
||||||
LogIndex uint64
|
LogIndex uint64
|
||||||
|
|
||||||
// UpdateMsg is the update message that was included within the our
|
// UpdateMsg is the update message that was included within our
|
||||||
// local update log. The LogIndex value denotes the log index of this
|
// local update log. The LogIndex value denotes the log index of this
|
||||||
// update which will be used when restoring our local update log if
|
// update which will be used when restoring our local update log if
|
||||||
// we're left with a dangling update on restart.
|
// we're left with a dangling update on restart.
|
||||||
|
|
|
@ -1312,8 +1312,8 @@ func TestCircuitMapDeleteUnopenedCircuit(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TestCircuitMapDeleteUnopenedCircuit checks that an open circuit can be
|
// TestCircuitMapDeleteOpenCircuit checks that an open circuit can be removed
|
||||||
// removed persistently from the circuit map.
|
// persistently from the circuit map.
|
||||||
func TestCircuitMapDeleteOpenCircuit(t *testing.T) {
|
func TestCircuitMapDeleteOpenCircuit(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
|
|
|
@ -219,8 +219,8 @@ type Switch struct {
|
||||||
cfg *Config
|
cfg *Config
|
||||||
|
|
||||||
// networkResults stores the results of payments initiated by the user.
|
// networkResults stores the results of payments initiated by the user.
|
||||||
// results. The store is used to later look up the payments and notify
|
// The store is used to later look up the payments and notify the
|
||||||
// the user of the result when they are complete. Each payment attempt
|
// user of the result when they are complete. Each payment attempt
|
||||||
// should be given a unique integer ID when it is created, otherwise
|
// should be given a unique integer ID when it is created, otherwise
|
||||||
// results might be overwritten.
|
// results might be overwritten.
|
||||||
networkResults *networkResultStore
|
networkResults *networkResultStore
|
||||||
|
|
Loading…
Add table
Reference in a new issue