Skip to content

Commit

Permalink
Merge pull request #8915 from linghuying/master
Browse files Browse the repository at this point in the history
chore: fix some comments for struct field
  • Loading branch information
guggero committed Jul 16, 2024
2 parents fae7e0c + 91930d4 commit fdd28c8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion brontide/noise.go
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ type Machine struct {
// errors that cause partial writes.
nextHeaderSend []byte

// nextHeaderBody holds a reference to the remaining body bytes to write
// nextBodySend holds a reference to the remaining body bytes to write
// out for a pending message. This allows us to tolerate timeout errors
// that cause partial writes.
nextBodySend []byte
Expand Down
2 changes: 1 addition & 1 deletion chanfitness/chaneventstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ type Config struct {
// for ease of testing.
Clock clock.Clock

// WriteFlapCounts records the flap count for a set of peers on disk.
// WriteFlapCount records the flap count for a set of peers on disk.
WriteFlapCount func(map[route.Vertex]*channeldb.FlapCount) error

// ReadFlapCount gets the flap count for a peer on disk.
Expand Down
2 changes: 1 addition & 1 deletion channeldb/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -3488,7 +3488,7 @@ type ChannelCloseSummary struct {
// per-commitment-point.
RemoteNextRevocation *btcec.PublicKey

// LocalChanCfg is the channel configuration for the local node.
// LocalChanConfig is the channel configuration for the local node.
LocalChanConfig ChannelConfig

// LastChanSyncMsg is the ChannelReestablish message for this channel
Expand Down
2 changes: 1 addition & 1 deletion channeldb/migration21/common/enclosed_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ type ChannelCloseSummary struct {
// per-commitment-point.
RemoteNextRevocation *btcec.PublicKey

// LocalChanCfg is the channel configuration for the local node.
// LocalChanConfig is the channel configuration for the local node.
LocalChanConfig ChannelConfig

// LastChanSyncMsg is the ChannelReestablish message for this channel
Expand Down
2 changes: 1 addition & 1 deletion channeldb/migration_01_to_11/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ type ChannelCloseSummary struct {
// per-commitment-point.
RemoteNextRevocation *btcec.PublicKey

// LocalChanCfg is the channel configuration for the local node.
// LocalChanConfig is the channel configuration for the local node.
LocalChanConfig ChannelConfig

// LastChanSyncMsg is the ChannelReestablish message for this channel
Expand Down

0 comments on commit fdd28c8

Please sign in to comment.