diff options
author | Yusup <awklsgrep@gmail.com> | 2018-04-04 18:25:02 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-04-04 18:25:02 +0800 |
commit | 7aad81f8815084c8ed032705fbaf6d3710e518cf (patch) | |
tree | a79cccc5f2040ac2ec496ca18e7381390c30fbc7 /eth/downloader/fakepeer.go | |
parent | 2a4bd55b43df92fe2f83468656ca03199596bceb (diff) | |
download | go-tangerine-7aad81f8815084c8ed032705fbaf6d3710e518cf.tar go-tangerine-7aad81f8815084c8ed032705fbaf6d3710e518cf.tar.gz go-tangerine-7aad81f8815084c8ed032705fbaf6d3710e518cf.tar.bz2 go-tangerine-7aad81f8815084c8ed032705fbaf6d3710e518cf.tar.lz go-tangerine-7aad81f8815084c8ed032705fbaf6d3710e518cf.tar.xz go-tangerine-7aad81f8815084c8ed032705fbaf6d3710e518cf.tar.zst go-tangerine-7aad81f8815084c8ed032705fbaf6d3710e518cf.zip |
eth: fix typos (#16414)
Diffstat (limited to 'eth/downloader/fakepeer.go')
-rw-r--r-- | eth/downloader/fakepeer.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eth/downloader/fakepeer.go b/eth/downloader/fakepeer.go index b45acff7d..5248e7fb0 100644 --- a/eth/downloader/fakepeer.go +++ b/eth/downloader/fakepeer.go @@ -27,7 +27,7 @@ import ( // FakePeer is a mock downloader peer that operates on a local database instance // instead of being an actual live node. It's useful for testing and to implement -// sync commands from an xisting local database. +// sync commands from an existing local database. type FakePeer struct { id string db ethdb.Database @@ -48,7 +48,7 @@ func (p *FakePeer) Head() (common.Hash, *big.Int) { } // RequestHeadersByHash implements downloader.Peer, returning a batch of headers -// defined by the origin hash and the associaed query parameters. +// defined by the origin hash and the associated query parameters. func (p *FakePeer) RequestHeadersByHash(hash common.Hash, amount int, skip int, reverse bool) error { var ( headers []*types.Header @@ -92,7 +92,7 @@ func (p *FakePeer) RequestHeadersByHash(hash common.Hash, amount int, skip int, } // RequestHeadersByNumber implements downloader.Peer, returning a batch of headers -// defined by the origin number and the associaed query parameters. +// defined by the origin number and the associated query parameters. func (p *FakePeer) RequestHeadersByNumber(number uint64, amount int, skip int, reverse bool) error { var ( headers []*types.Header |