mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-24 14:35:53 +00:00
Fix an error string.
This commit is contained in:
parent
ceb7cda983
commit
cda9d5f27e
@ -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()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user