mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 22:56:43 +00:00
Update remotedb.go
This commit is contained in:
parent
4c2490c314
commit
2e192a858d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue