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:
Victor Pontis 2021-11-28 20:16:33 -08:00 committed by Michael Vines
parent 7393f1de43
commit 801b4e59f8
1 changed files with 3 additions and 3 deletions

View File

@ -95,9 +95,9 @@ pub struct Account {
pub delegate: COption<Pubkey>, pub delegate: COption<Pubkey>,
/// The account's state /// The account's state
pub state: AccountState, pub state: AccountState,
/// If is_some, this is a native token, and the value logs the rent-exempt reserve. An Account /// If is_native.is_some, this is a native token, and the value logs the rent-exempt reserve. An
/// is required to be rent-exempt, so the value is used by the Processor to ensure that wrapped /// Account is required to be rent-exempt, so the value is used by the Processor to ensure that
/// SOL accounts do not drop below this threshold. /// wrapped SOL accounts do not drop below this threshold.
pub is_native: COption<u64>, pub is_native: COption<u64>,
/// The amount delegated /// The amount delegated
pub delegated_amount: u64, pub delegated_amount: u64,