Fix comment error

This commit is contained in:
Nisen 2019-03-03 09:42:32 +08:00 committed by John C. Vernaleo
parent 8bbbe98be9
commit 0c76fbd26f

View file

@ -1299,8 +1299,7 @@ func testFetchBlockIO(tc *testContext, tx database.Tx) bool {
return false return false
} }
// Ensure the block header fetched from the database matches the // Ensure block hash exists as expected.
// expected bytes.
hasBlock, err := tx.HasBlock(blockHash) hasBlock, err := tx.HasBlock(blockHash)
if err != nil { if err != nil {
tc.t.Errorf("HasBlock(%s): unexpected error: %v", tc.t.Errorf("HasBlock(%s): unexpected error: %v",