mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
fix error fatal error: concurrent map read and map write
This commit is contained in:
parent
7d162336fa
commit
3268d372a0
1 changed files with 1 additions and 1 deletions
|
|
@ -669,7 +669,7 @@ func (f *Fetcher) insert(peer string, block *types.Block) {
|
|||
go f.broadcastBlock(block, true)
|
||||
return
|
||||
}
|
||||
f.enqueue(peer, newBlock)
|
||||
f.Enqueue(peer, newBlock)
|
||||
return
|
||||
default:
|
||||
// Something went very wrong, drop the peer
|
||||
|
|
|
|||
Loading…
Reference in a new issue