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
}
// Ensure the block header fetched from the database matches the
// expected bytes.
// Ensure block hash exists as expected.
hasBlock, err := tx.HasBlock(blockHash)
if err != nil {
tc.t.Errorf("HasBlock(%s): unexpected error: %v",