Pacify clippy
This commit is contained in:
@ -386,7 +386,7 @@ impl Fullnode {
|
||||
|
||||
// Make a new RPU to serve requests out of the new bank we've created
|
||||
// instead of the old one
|
||||
if !self.rpu.is_none() {
|
||||
if self.rpu.is_some() {
|
||||
let old_rpu = self.rpu.take().unwrap();
|
||||
old_rpu.close()?;
|
||||
self.rpu = Some(Rpu::new(
|
||||
|
Reference in New Issue
Block a user