eth, eth/downloader: make synchronize thread safe
This commit is contained in:
@ -61,7 +61,7 @@ func newTester(t *testing.T, hashes []common.Hash, blocks map[common.Hash]*types
|
||||
|
||||
func (dl *downloadTester) sync(peerId string, hash common.Hash) error {
|
||||
dl.activePeerId = peerId
|
||||
return dl.downloader.Synchronise(peerId, hash)
|
||||
return dl.downloader.Synchronize(peerId, hash)
|
||||
}
|
||||
|
||||
func (dl *downloadTester) hasBlock(hash common.Hash) bool {
|
||||
|
Reference in New Issue
Block a user