chore: fix some comments for struct field

Signed-off-by: linghuying <1599935829@qq.com>
This commit is contained in:
linghuying 2024-07-16 11:44:35 +08:00
parent 09b38aaa01
commit 91930d4ab8
5 changed files with 5 additions and 5 deletions

View File

@ -379,7 +379,7 @@ type Machine struct {
// errors that cause partial writes. // errors that cause partial writes.
nextHeaderSend []byte 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 // out for a pending message. This allows us to tolerate timeout errors
// that cause partial writes. // that cause partial writes.
nextBodySend []byte nextBodySend []byte

View File

@ -85,7 +85,7 @@ type Config struct {
// for ease of testing. // for ease of testing.
Clock clock.Clock 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 WriteFlapCount func(map[route.Vertex]*channeldb.FlapCount) error
// ReadFlapCount gets the flap count for a peer on disk. // ReadFlapCount gets the flap count for a peer on disk.

View File

@ -3488,7 +3488,7 @@ type ChannelCloseSummary struct {
// per-commitment-point. // per-commitment-point.
RemoteNextRevocation *btcec.PublicKey RemoteNextRevocation *btcec.PublicKey
// LocalChanCfg is the channel configuration for the local node. // LocalChanConfig is the channel configuration for the local node.
LocalChanConfig ChannelConfig LocalChanConfig ChannelConfig
// LastChanSyncMsg is the ChannelReestablish message for this channel // LastChanSyncMsg is the ChannelReestablish message for this channel

View File

@ -447,7 +447,7 @@ type ChannelCloseSummary struct {
// per-commitment-point. // per-commitment-point.
RemoteNextRevocation *btcec.PublicKey RemoteNextRevocation *btcec.PublicKey
// LocalChanCfg is the channel configuration for the local node. // LocalChanConfig is the channel configuration for the local node.
LocalChanConfig ChannelConfig LocalChanConfig ChannelConfig
// LastChanSyncMsg is the ChannelReestablish message for this channel // LastChanSyncMsg is the ChannelReestablish message for this channel

View File

@ -583,7 +583,7 @@ type ChannelCloseSummary struct {
// per-commitment-point. // per-commitment-point.
RemoteNextRevocation *btcec.PublicKey RemoteNextRevocation *btcec.PublicKey
// LocalChanCfg is the channel configuration for the local node. // LocalChanConfig is the channel configuration for the local node.
LocalChanConfig ChannelConfig LocalChanConfig ChannelConfig
// LastChanSyncMsg is the ChannelReestablish message for this channel // LastChanSyncMsg is the ChannelReestablish message for this channel