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