Update remotedb.go

This commit is contained in:
Ocenka 2025-04-01 15:27:05 +01:00 committed by GitHub
parent 4c2490c314
commit 2e192a858d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,7 +50,7 @@ func (db *Database) Get(key []byte) ([]byte, error) {
func (db *Database) HasAncient(kind string, number uint64) (bool, error) {
if _, err := db.Ancient(kind, number); err != nil {
return false, nil
return false, err
}
return true, nil
}