We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2994c0b commit 334386fCopy full SHA for 334386f
solana/programs/staking/src/contexts/finalize.rs
@@ -31,7 +31,7 @@ pub struct Finalize<'info> {
31
impl<'info> Finalize<'info> {
32
pub fn finalize(&mut self) -> Result<()> {
33
require!(
34
- self.vault.amount == self.config.vested,
+ self.vault.amount >= self.config.vested,
35
VestingError::VestedBalanceMismatch
36
);
37
0 commit comments