diff --git a/database/postgresql/postgresql.go b/database/postgresql/postgresql.go index 0b8f4fa8..6bf51c83 100644 --- a/database/postgresql/postgresql.go +++ b/database/postgresql/postgresql.go @@ -105,10 +105,6 @@ func (db *Database) GetLastBlockHeight() (int64, error) { return 0, fmt.Errorf("error while getting last block height, error: %s", err) } - if height == 0 { - return 0, fmt.Errorf("cannot get block height, no blocks saved") - } - return height, nil }