mempool / electrs

An efficient re-implementation of Electrum Server in Rust
MIT License
74 stars 35 forks source link

Fixed regression introduced by #51 #85

Closed gslandtreter closed 6 months ago

gslandtreter commented 6 months ago

Commit merged as part of #51 introduced a regression that prevents the daemon from breaking out its startup wait loop when running in regtest mode, in scenarios where the blockchain already contains 1 or more blocks (apart from genesis).

This commit fixes the regression by only checking the equivalence between blocks and headers as the wait condition when running in regtest mode.