Skip to content

Commit

Permalink
chore(sidecar): logs
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevbirb committed Oct 31, 2024
1 parent 6da7aeb commit 6eebb46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bolt-sidecar/src/chain_io/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ impl BoltManager {
) -> eyre::Result<Vec<ProposerStatus>> {
let hashes_with_preimages = utils::pubkey_hashes(keys);
let mut hashes = hashes_with_preimages.keys().cloned().collect::<Vec<_>>();
let total_keys = hashes.len();

let mut proposers_statuses = Vec::with_capacity(hashes.len());

Expand All @@ -75,7 +76,7 @@ impl BoltManager {
"fetching {} proposer statuses for chunk {} of {}",
hashes_chunk.len(),
i,
hashes.len().div_ceil(CHUNK_SIZE)
total_keys.div_ceil(CHUNK_SIZE)
);

let returndata = self.0.getProposerStatuses(hashes_chunk).call().await;
Expand Down

0 comments on commit 6eebb46

Please sign in to comment.