Update sol:lamport ratio to base-10 (#6611)
* Update sol:lamport ratio * Update various SOL quantities in bash scripts
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/// There are 2^34 lamports in one sol
|
||||
pub const SOL_LAMPORTS: u64 = 17_179_869_184;
|
||||
pub const SOL_LAMPORTS: u64 = 1_000_000_000;
|
||||
|
||||
/// Approximately convert fractional native tokens (lamports) into native tokens (sol)
|
||||
pub fn lamports_to_sol(lamports: u64) -> f64 {
|
||||
|
Reference in New Issue
Block a user