Add non-dev value for slots_per_epoch and use that as default (#6984)

When --dev flag is not passed.
This commit is contained in:
sakridge
2019-11-16 20:53:54 -08:00
committed by GitHub
parent c3926e6af0
commit c1b06817a2
4 changed files with 48 additions and 20 deletions

View File

@ -376,11 +376,11 @@ mod tests {
);
assert_eq!(
cache.next_leader_slot(&pubkey, 0, &bank, None),
Some((1, 16383))
Some((1, 6047999))
);
assert_eq!(
cache.next_leader_slot(&pubkey, 1, &bank, None),
Some((2, 16383))
Some((2, 6047999))
);
assert_eq!(
cache.next_leader_slot(