Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/chain/bitcoind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,10 @@ impl BitcoindChainSource {
log_trace!(self.logger, "Finished polling best tip in {}ms", elapsed_ms);
*self.latest_chain_tip.write().expect("lock") = Some(tip);
},
Ok((ChainTip::Better(tip), false)) => {
log_error!(self.logger, "Failed to sync to new chain tip at height {}", tip.height);
return Err(Error::TxSyncFailed);
},
Ok(_) => {},
Err(e) => {
log_error!(self.logger, "Failed to poll for chain data: {:?}", e);
Expand Down
Loading