improve log message
we don't always get an empty block because we aren't synced. sometimes it is because we got disconnected
This commit is contained in:
parent
7924b828b3
commit
1efa8e7772
@ -531,7 +531,7 @@ impl Web3Rpc {
|
||||
// we previously sent a None. return early
|
||||
return Ok(());
|
||||
}
|
||||
warn!("{} is not synced!", self);
|
||||
warn!("clearing head block on {}!", self);
|
||||
|
||||
*head_block = None;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user