revert is_some to not is_none, causes test failure
This commit is contained in:
parent
b2be0e2e5e
commit
a1f01fb8f8
|
@ -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_some() {
|
if !self.rpu.is_none() {
|
||||||
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