1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 18:10:51 +01:00

Don't wait for IBD on regtest

This commit is contained in:
Roman Zeyde 2020-07-25 21:14:26 +03:00
parent 521914a853
commit 3f750cf8ce
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB

View File

@ -348,6 +348,9 @@ impl Daemon {
if !info.initialblockdownload {
break;
}
if network == Network::Regtest && info.headers == info.blocks {
break;
}
warn!(
"wait until IBD is over: headers={} blocks={} progress={}",
info.headers, info.blocks, info.verificationprogress