mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-21 14:04:06 +01:00
Merge pull request #8915 from linghuying/master
chore: fix some comments for struct field
This commit is contained in:
commit
fdd28c8d88
5 changed files with 5 additions and 5 deletions
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue