use ref for new_from_parent; test that transactions don't leak to parent
This commit is contained in:
committed by
Greg Fitzgerald
parent
8166925f04
commit
54dfe708c1
@ -363,7 +363,7 @@ impl Fullnode {
|
||||
}
|
||||
None => FullnodeReturnType::LeaderToLeaderRotation, // value doesn't matter here...
|
||||
};
|
||||
let tpu_bank = Arc::new(Bank::new_from_parent(self.bank.clone()));
|
||||
let tpu_bank = Arc::new(Bank::new_from_parent(&self.bank));
|
||||
self.node_services.tpu.switch_to_leader(
|
||||
&tpu_bank,
|
||||
PohServiceConfig::default(),
|
||||
|
Reference in New Issue
Block a user