Skip to content

Commit

Permalink
Fix daemon resconnection log message
Browse files Browse the repository at this point in the history
  • Loading branch information
romanz committed Aug 20, 2018
1 parent 0e525c9 commit e9a6bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()?;
Expand Down

0 comments on commit e9a6bd0

Please sign in to comment.