mirror of https://github.com/poanetwork/gecko.git
fixed iterator error message to report the correct function
This commit is contained in:
parent
695290fb59
commit
9b583ccc6e
|
@ -644,7 +644,7 @@ func TestIteratorMemorySafety(t *testing.T, db Database) {
|
|||
|
||||
iterator := db.NewIterator()
|
||||
if iterator == nil {
|
||||
t.Fatalf("db.NewIteratorWithStartAndPrefix returned nil")
|
||||
t.Fatalf("db.NewIterator returned nil")
|
||||
}
|
||||
defer iterator.Release()
|
||||
|
||||
|
|
Loading…
Reference in New Issue