Remove lingering references to base-2 SOLs (#6629)

automerge
This commit is contained in:
Justin Starry
2019-10-30 17:59:44 -04:00
committed by Grimes
parent 6d403f2d85
commit d2d78a073f
4 changed files with 8 additions and 8 deletions

View File

@ -306,7 +306,7 @@ mod tests {
let rent_calculator = solana_sdk::rent_calculator::RentCalculator::default();
let minimum_balance = rent_calculator.minimum_balance(VoteState::size_of());
// vote state cheaper than "my $0.02" ;)
assert!(minimum_balance as f64 / 2f64.powf(34.0) < 0.02)
assert!(minimum_balance as f64 / 10f64.powf(9.0) < 0.02)
}
#[test]