mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-19 01:40:07 +01:00
chore: fix some comments
Signed-off-by: lencap <techgeek@189.cn>
This commit is contained in:
parent
97400aa23e
commit
8791081be3
@ -277,7 +277,7 @@ func (b *rpcSyncMgr) SyncPeerID() int32 {
|
|||||||
return b.syncMgr.SyncPeerID()
|
return b.syncMgr.SyncPeerID()
|
||||||
}
|
}
|
||||||
|
|
||||||
// LocateBlocks returns the hashes of the blocks after the first known block in
|
// LocateHeaders returns the hashes of the blocks after the first known block in
|
||||||
// the provided locators until the provided stop hash or the current tip is
|
// the provided locators until the provided stop hash or the current tip is
|
||||||
// reached, up to a max of wire.MaxBlockHeadersPerMsg hashes.
|
// reached, up to a max of wire.MaxBlockHeadersPerMsg hashes.
|
||||||
//
|
//
|
||||||
|
2
upnp.go
2
upnp.go
@ -201,7 +201,7 @@ func getChildDevice(d *device, deviceType string) *device {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// getChildDevice searches the service list of device for a service with the
|
// getChildService searches the service list of device for a service with the
|
||||||
// given type.
|
// given type.
|
||||||
func getChildService(d *device, serviceType string) *service {
|
func getChildService(d *device, serviceType string) *service {
|
||||||
for i := range d.ServiceList.Service {
|
for i := range d.ServiceList.Service {
|
||||||
|
Loading…
Reference in New Issue
Block a user