Drop bank from BlockCommitmentCache (#10959)

* Remove bank reference from BlockCommitmentCache

* Don't use a Bank to create BlockCommitmentCache

* Rename recent_slot to slot
This commit is contained in:
Greg Fitzgerald
2020-07-08 18:50:13 -06:00
committed by GitHub
parent 841ecfd927
commit ebadbce920
5 changed files with 27 additions and 37 deletions

View File

@ -116,7 +116,7 @@ impl AggregateCommitmentService {
block_commitment,
highest_confirmed_root,
aggregation_data.total_stake,
aggregation_data.bank,
aggregation_data.bank.slot(),
aggregation_data.root,
aggregation_data.root,
);