mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 01:43:29 +01:00
Fix daemon resconnection log message
This commit is contained in:
parent
0e525c9342
commit
e9a6bd0986
@ -391,7 +391,7 @@ impl Daemon {
|
||||
loop {
|
||||
match self.handle_request_batch(method, params_list) {
|
||||
Err(Error(ErrorKind::Connection(msg), _)) => {
|
||||
warn!("reconnecting due to {}", msg);
|
||||
warn!("reconnecting to bitcoind: {}", msg);
|
||||
self.signal.wait(Duration::from_secs(3))?;
|
||||
let mut conn = self.conn.lock().unwrap();
|
||||
*conn = conn.reconnect()?;
|
||||
|
Loading…
Reference in New Issue
Block a user