Update error message for zero hash change.
This commit is contained in:
parent
d9404fe880
commit
9049bcacec
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ func TestEmptyDB(t *testing.T) {
|
||||||
|
|
||||||
sha, height, err := db.NewestSha()
|
sha, height, err := db.NewestSha()
|
||||||
if !sha.IsEqual(&btcwire.ShaHash{}) {
|
if !sha.IsEqual(&btcwire.ShaHash{}) {
|
||||||
t.Errorf("sha not nil")
|
t.Errorf("sha not zero hash")
|
||||||
}
|
}
|
||||||
if height != -1 {
|
if height != -1 {
|
||||||
t.Errorf("height not -1 %v", height)
|
t.Errorf("height not -1 %v", height)
|
||||||
|
|
Loading…
Reference in a new issue