Make VotingMintConfig::in_use based on the mint
This commit is contained in:
parent
b937452f51
commit
5aa1114beb
|
@ -83,7 +83,7 @@ impl VotingMintConfig {
|
|||
|
||||
/// Whether this voting mint is configured.
|
||||
pub fn in_use(&self) -> bool {
|
||||
self.lockup_saturation_secs > 0
|
||||
self.mint != Pubkey::default()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue