Skip to content

Commit fdd28c8

Browse files
authored
Merge pull request #8915 from linghuying/master
chore: fix some comments for struct field
2 parents fae7e0c + 91930d4 commit fdd28c8

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

brontide/noise.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ type Machine struct {
379379
// errors that cause partial writes.
380380
nextHeaderSend []byte
381381

382-
// nextHeaderBody holds a reference to the remaining body bytes to write
382+
// nextBodySend holds a reference to the remaining body bytes to write
383383
// out for a pending message. This allows us to tolerate timeout errors
384384
// that cause partial writes.
385385
nextBodySend []byte

chanfitness/chaneventstore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ type Config struct {
8585
// for ease of testing.
8686
Clock clock.Clock
8787

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

9191
// ReadFlapCount gets the flap count for a peer on disk.

channeldb/channel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3488,7 +3488,7 @@ type ChannelCloseSummary struct {
34883488
// per-commitment-point.
34893489
RemoteNextRevocation *btcec.PublicKey
34903490

3491-
// LocalChanCfg is the channel configuration for the local node.
3491+
// LocalChanConfig is the channel configuration for the local node.
34923492
LocalChanConfig ChannelConfig
34933493

34943494
// LastChanSyncMsg is the ChannelReestablish message for this channel

channeldb/migration21/common/enclosed_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ type ChannelCloseSummary struct {
447447
// per-commitment-point.
448448
RemoteNextRevocation *btcec.PublicKey
449449

450-
// LocalChanCfg is the channel configuration for the local node.
450+
// LocalChanConfig is the channel configuration for the local node.
451451
LocalChanConfig ChannelConfig
452452

453453
// LastChanSyncMsg is the ChannelReestablish message for this channel

channeldb/migration_01_to_11/channel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ type ChannelCloseSummary struct {
583583
// per-commitment-point.
584584
RemoteNextRevocation *btcec.PublicKey
585585

586-
// LocalChanCfg is the channel configuration for the local node.
586+
// LocalChanConfig is the channel configuration for the local node.
587587
LocalChanConfig ChannelConfig
588588

589589
// LastChanSyncMsg is the ChannelReestablish message for this channel

0 commit comments

Comments
 (0)