Make VotingMintConfig::in_use based on the mint

This commit is contained in:
Christian Kamm 2021-12-16 13:32:23 +01:00
parent b937452f51
commit 5aa1114beb
1 changed files with 1 additions and 1 deletions

View File

@ -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()
}
}