Skip to content

Commit

Permalink
fix typo (kaspanet#2060)
Browse files Browse the repository at this point in the history
Co-authored-by: Ori Newman <[email protected]>
  • Loading branch information
D-Stacks and someone235 authored May 25, 2022
1 parent cd5fd86 commit a4d9fa1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ func TestLowestChainBlockAboveOrEqualToBlueScore(t *testing.T) {
}
}

checkBlueScore := func(blockHash *externalapi.DomainHash, expectedBlueScoe uint64) {
checkBlueScore := func(blockHash *externalapi.DomainHash, expectedBlueScore uint64) {
ghostdagData, err := tc.GHOSTDAGDataStore().Get(tc.DatabaseContext(), stagingArea, blockHash, false)
if err != nil {
t.Fatalf("GHOSTDAGDataStore().Get: %+v", err)
}

if ghostdagData.BlueScore() != expectedBlueScoe {
t.Fatalf("Expected blue score %d but got %d", expectedBlueScoe, ghostdagData.BlueScore())
if ghostdagData.BlueScore() != expectedBlueScore {
t.Fatalf("Expected blue score %d but got %d", expectedBlueScore, ghostdagData.BlueScore())
}
}

Expand Down

0 comments on commit a4d9fa1

Please sign in to comment.