chore: fix some comments

Signed-off-by: lencap <techgeek@189.cn>
This commit is contained in:
lencap 2024-08-09 16:51:11 +08:00
parent 97400aa23e
commit 8791081be3
2 changed files with 2 additions and 2 deletions

View File

@ -277,7 +277,7 @@ func (b *rpcSyncMgr) SyncPeerID() int32 {
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
// reached, up to a max of wire.MaxBlockHeadersPerMsg hashes.
//

View File

@ -201,7 +201,7 @@ func getChildDevice(d *device, deviceType string) *device {
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.
func getChildService(d *device, serviceType string) *service {
for i := range d.ServiceList.Service {