Fix comment error
This commit is contained in:
parent
8bbbe98be9
commit
0c76fbd26f
1 changed files with 1 additions and 2 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue