all: change blacklist terms

This commit is contained in:
baptiste-b-pegasys
2021-07-29 10:17:40 +02:00
committed by GitHub
parent 56e9001a1a
commit 523866c2cc
8 changed files with 17 additions and 17 deletions

View File

@ -473,8 +473,8 @@ func testBadHashes(t *testing.T, full bool) {
_, err = blockchain.InsertHeaderChain(headers, 1)
}
if !errors.Is(err, ErrBlacklistedHash) {
t.Errorf("error mismatch: have: %v, want: %v", err, ErrBlacklistedHash)
if !errors.Is(err, ErrBannedHash) {
t.Errorf("error mismatch: have: %v, want: %v", err, ErrBannedHash)
}
}