mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
eth/fetcher: lint error
This commit is contained in:
parent
b4c1a26367
commit
5e737101e6
1 changed files with 1 additions and 1 deletions
|
|
@ -771,7 +771,7 @@ func (f *BlobFetcher) scheduleFetches(timer *mclock.Timer, timeout chan struct{}
|
||||||
// Mark fetching for unfetched cells if the peer has enough token.
|
// Mark fetching for unfetched cells if the peer has enough token.
|
||||||
// Otherwise, the next peer who announced the hash and has token will be selected
|
// Otherwise, the next peer who announced the hash and has token will be selected
|
||||||
// in the next loop
|
// in the next loop
|
||||||
if unfetched.OneCount() > 0 && f.consumeToken(peer, int(unfetched.OneCount())) {
|
if unfetched.OneCount() > 0 && f.consumeToken(peer, unfetched.OneCount()) {
|
||||||
if f.fetches[hash] == nil {
|
if f.fetches[hash] == nil {
|
||||||
f.fetches[hash] = &fetchStatus{
|
f.fetches[hash] = &fetchStatus{
|
||||||
fetching: unfetched,
|
fetching: unfetched,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue