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:
parent
521914a853
commit
3f750cf8ce
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user