Skip to content

Commit c4f922e

Browse files
committed
fix: expose recover_m ix
1 parent 041f977 commit c4f922e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

programs/earn/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ pub mod earn {
4343
Initialize::handler(ctx, current_index)
4444
}
4545

46-
// TODO add admin instructions for updating global values
46+
pub fn recover_m(ctx: Context<RecoverM>, amount: Option<u64>) -> Result<()> {
47+
RecoverM::handler(ctx, amount)
48+
}
4749

4850
// Portal instrutions
4951

0 commit comments

Comments
 (0)