Update an outdated comment

This commit is contained in:
teor 2021-04-07 19:23:48 +10:00 committed by GitHub
parent de6d1c93f3
commit bb3147dd1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -707,7 +707,8 @@ fn restart_stop_at_height() -> Result<()> {
None,
)?;
// if stopping corrupts the rocksdb database, zebrad might hang here
// if stopping does not sync the rocksdb database, the logs will contain OnCommit
// if stopping does not write the rocksdb database to disk, Zebra will
// sync, rather than stopping immediately at the configured height
sync_until(
Height(0),
Mainnet,