Add native_mint::DECIMALS
This commit is contained in:
parent
827e4196ed
commit
72608ab2e3
|
@ -11,6 +11,11 @@
|
|||
#define TOKEN_MINOR_VERSION 0
|
||||
#define TOKEN_PATCH_VERSION 6
|
||||
|
||||
/**
|
||||
* There are 10^9 lamports in one SOL
|
||||
*/
|
||||
#define Token_DECIMALS 9
|
||||
|
||||
/**
|
||||
* Maximum number of multisignature signers (max N)
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
//! The Mint that represents the native token
|
||||
|
||||
/// There are 10^9 lamports in one SOL
|
||||
pub const DECIMALS: u8 = 9;
|
||||
|
||||
// The Mint for native SOL Token accounts
|
||||
solana_sdk::declare_id!("So11111111111111111111111111111111111111111");
|
||||
|
|
Loading…
Reference in New Issue