mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-05 10:55:02 +00:00
eth/downloader: fix incomplete code comment (#32354)
This commit is contained in:
parent
4e7bc2bdc8
commit
f86870f5da
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ func (s *SyncStatusSubscription) Unsubscribe() {
|
|||
}
|
||||
|
||||
// SubscribeSyncStatus creates a subscription that will broadcast new synchronisation updates.
|
||||
// The given channel must receive interface values, the result can either.
|
||||
// The given channel must receive interface values, the result can either be a SyncingResult or false.
|
||||
func (api *DownloaderAPI) SubscribeSyncStatus(status chan interface{}) *SyncStatusSubscription {
|
||||
api.installSyncSubscription <- status
|
||||
return &SyncStatusSubscription{api: api, c: status}
|
||||
|
|
|
|||
Loading…
Reference in a new issue