Fix an error string.

This commit is contained in:
stasatdaglabs 2021-01-29 11:50:53 +02:00
parent ceb7cda983
commit cda9d5f27e

View File

@ -29,7 +29,7 @@ func TestPickVirtualParents(t *testing.T) {
for blockIndex := 0; blockIndex < chainSize; blockIndex++ { for blockIndex := 0; blockIndex < chainSize; blockIndex++ {
block, _, err := testConsensus.BuildBlockWithParents([]*externalapi.DomainHash{tipHash}, nil, nil) block, _, err := testConsensus.BuildBlockWithParents([]*externalapi.DomainHash{tipHash}, nil, nil)
if err != nil { if err != nil {
t.Fatalf("Could not build block with the genesis block as its only parent: %s", err) t.Fatalf("Could not build block: %s", err)
} }
blockHash := consensushashing.BlockHash(block) blockHash := consensushashing.BlockHash(block)
start := time.Now() start := time.Now()