eth/downloader: minor typo fixes in comments (#21035)

This commit is contained in:
Guillaume Ballet
2020-05-06 15:35:04 +02:00
committed by GitHub
parent 5cdc2dffda
commit 234cc8e77f
4 changed files with 7 additions and 8 deletions

View File

@ -1126,7 +1126,7 @@ func testBlockHeaderAttackerDropping(t *testing.T, protocol int) {
chain := testChainBase.shorten(1)
for i, tt := range tests {
// Register a new peer and ensure it's presence
// Register a new peer and ensure its presence
id := fmt.Sprintf("test %d", i)
if err := tester.newPeer(id, protocol, chain); err != nil {
t.Fatalf("test %d: failed to register new peer: %v", i, err)