moved fee collection code to runtime
This commit is contained in:
@@ -319,8 +319,7 @@ impl Fullnode {
|
||||
}
|
||||
None => FullnodeReturnType::LeaderToLeaderRotation, // value doesn't matter here...
|
||||
};
|
||||
|
||||
let tpu_bank = Arc::new(Bank::new_from_parent(bank));
|
||||
let tpu_bank = Arc::new(Bank::new_from_parent(bank, &leader));
|
||||
self.node_services.tpu.switch_to_leader(
|
||||
&tpu_bank,
|
||||
PohServiceConfig::default(),
|
||||
|
Reference in New Issue
Block a user