1
0
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:
Roman Zeyde 2018-08-20 12:28:30 +03:00
parent 0e525c9342
commit e9a6bd0986
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB

View File

@ -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()?;