make bank commit_credits non public (#4944)

* make bank commit_credits non pub

* track down create() failure

* move bank_client to process_transaction(), which commits credits
This commit is contained in:
Rob Walker
2019-07-08 15:37:54 -07:00
committed by GitHub
parent bb6bcd79c0
commit eb4edd75e6
4 changed files with 29 additions and 19 deletions

View File

@ -616,7 +616,6 @@ impl ReplayStage {
slot_full_sender: &Sender<(u64, Pubkey)>,
) {
bank.freeze();
bank.commit_credits();
info!("bank frozen {}", bank.slot());
if let Err(e) = slot_full_sender.send((bank.slot(), *bank.collector_id())) {
trace!("{} slot_full alert failed: {:?}", my_pubkey, e);