Wrap long lines

This commit is contained in:
Michael Vines
2021-06-08 09:53:15 -07:00
parent 5c72fef85a
commit e5e7390d44
2 changed files with 34 additions and 13 deletions

View File

@@ -232,12 +232,11 @@ impl ForkProgress {
num_blocks_on_fork: u64,
num_dropped_blocks_on_fork: u64,
) -> Self {
let validator_fork_info = {
let validator_stake_info = {
if bank.collector_id() == my_pubkey {
let stake = bank.epoch_vote_account_stake(voting_pubkey);
Some(ValidatorStakeInfo::new(
*voting_pubkey,
stake,
bank.epoch_vote_account_stake(voting_pubkey),
bank.total_epoch_stake(),
))
} else {
@@ -249,7 +248,7 @@ impl ForkProgress {
bank.last_blockhash(),
prev_leader_slot,
duplicate_stats,
validator_fork_info,
validator_stake_info,
num_blocks_on_fork,
num_dropped_blocks_on_fork,
)