Browse Source
Fix daemon resconnection log message
refactor-mempool
Roman Zeyde
7 years ago
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB
1 changed files with
1 additions and
1 deletions
-
src/daemon.rs
|
|
@ -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()?; |
|
|
|