Update comment on state.rs regarding is_native
I was confused when reading this comment and had to read the code to realize that the comment isn't a typo.
(Btw, let me know if this kind of small changes are helpful or not 👍.)
This commit is contained in:
parent
7393f1de43
commit
801b4e59f8
|
@ -95,9 +95,9 @@ pub struct Account {
|
|||
pub delegate: COption<Pubkey>,
|
||||
/// The account's state
|
||||
pub state: AccountState,
|
||||
/// If is_some, this is a native token, and the value logs the rent-exempt reserve. An Account
|
||||
/// is required to be rent-exempt, so the value is used by the Processor to ensure that wrapped
|
||||
/// SOL accounts do not drop below this threshold.
|
||||
/// If is_native.is_some, this is a native token, and the value logs the rent-exempt reserve. An
|
||||
/// Account is required to be rent-exempt, so the value is used by the Processor to ensure that
|
||||
/// wrapped SOL accounts do not drop below this threshold.
|
||||
pub is_native: COption<u64>,
|
||||
/// The amount delegated
|
||||
pub delegated_amount: u64,
|
||||
|
|
Loading…
Reference in New Issue