Skip to content

Commit 71f388c

Browse files
committed
two kinds of errors in cs
1 parent 99b4e0e commit 71f388c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

clients/cli/src/output.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ impl StakePoolOutput {
225225
"{} Onramp does not exist; use `spl-single-pool manage create-on-ramp` to create it",
226226
style("/!\\").bold(),
227227
)?;
228-
} else if self.undelegated_lamports > self.minimum_delegation {
228+
} else if self.undelegated_lamports >= self.minimum_delegation {
229229
writeln!(
230230
w,
231231
"{} This pool has {} not earning rewards; use `spl-single-pool manage replenish-pool` to delegate it",

0 commit comments

Comments
 (0)