diff options
author | Leif Jurvetson <leijurv@gmail.com> | 2016-03-16 02:27:49 +0800 |
---|---|---|
committer | Leif Jurvetson <leijurv@gmail.com> | 2016-03-16 02:27:49 +0800 |
commit | bbbe2360d02a5c8191e98cd6c3cbefe20db2b9db (patch) | |
tree | 93afcd1ed8c3661a9ff736ff32c410bfeece39db /eth/downloader/downloader_test.go | |
parent | e189fb839c688b418b43ad6533111c246c109a93 (diff) | |
download | go-tangerine-bbbe2360d02a5c8191e98cd6c3cbefe20db2b9db.tar go-tangerine-bbbe2360d02a5c8191e98cd6c3cbefe20db2b9db.tar.gz go-tangerine-bbbe2360d02a5c8191e98cd6c3cbefe20db2b9db.tar.bz2 go-tangerine-bbbe2360d02a5c8191e98cd6c3cbefe20db2b9db.tar.lz go-tangerine-bbbe2360d02a5c8191e98cd6c3cbefe20db2b9db.tar.xz go-tangerine-bbbe2360d02a5c8191e98cd6c3cbefe20db2b9db.tar.zst go-tangerine-bbbe2360d02a5c8191e98cd6c3cbefe20db2b9db.zip |
eth: various typos
Diffstat (limited to 'eth/downloader/downloader_test.go')
-rw-r--r-- | eth/downloader/downloader_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eth/downloader/downloader_test.go b/eth/downloader/downloader_test.go index ff57fe167..e66a90264 100644 --- a/eth/downloader/downloader_test.go +++ b/eth/downloader/downloader_test.go @@ -277,7 +277,7 @@ func (dl *downloadTester) insertHeaders(headers []*types.Header, checkFreq int) dl.lock.Lock() defer dl.lock.Unlock() - // Do a quick check, as the blockchain.InsertHeaderChain doesn't insert anthing in case of errors + // Do a quick check, as the blockchain.InsertHeaderChain doesn't insert anything in case of errors if _, ok := dl.ownHeaders[headers[0].ParentHash]; !ok { return 0, errors.New("unknown parent") } @@ -958,7 +958,7 @@ func testMultiSynchronisation(t *testing.T, protocol int, mode SyncMode) { } // Tests that synchronisations behave well in multi-version protocol environments -// and not wreak havok on other nodes in the network. +// and not wreak havoc on other nodes in the network. func TestMultiProtoSynchronisation61(t *testing.T) { testMultiProtoSync(t, 61, FullSync) } func TestMultiProtoSynchronisation62(t *testing.T) { testMultiProtoSync(t, 62, FullSync) } func TestMultiProtoSynchronisation63Full(t *testing.T) { testMultiProtoSync(t, 63, FullSync) } @@ -1188,7 +1188,7 @@ func testInvalidHeaderRollback(t *testing.T, protocol int, mode SyncMode) { // Synchronise with the valid peer and make sure sync succeeds. Since the last // rollback should also disable fast syncing for this process, verify that we // did a fresh full sync. Note, we can't assert anything about the receipts - // since we won't purge the database of them, hence we can't use asserOwnChain. + // since we won't purge the database of them, hence we can't use assertOwnChain. tester.newPeer("valid", protocol, hashes, headers, blocks, receipts) if err := tester.sync("valid", nil, mode); err != nil { t.Fatalf("failed to synchronise blocks: %v", err) |