Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nothing0012 committed Jan 27, 2024
1 parent fe607de commit 69d11f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion programs/mmm/src/instructions/admin/set_shared_escrow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ pub fn handler(ctx: Context<SetSharedEscrow>, args: SetSharedEscrowArgs) -> Resu
return Err(MMMErrorCode::InvalidAccountState.into());
}

// not support for reinvest
// not support for reinvest yet, and we will start with collection offers
// for shared escrow first.
if pool.reinvest_fulfill_buy || pool.reinvest_fulfill_sell {
return Err(MMMErrorCode::InvalidAccountState.into());
}
Expand Down

0 comments on commit 69d11f7

Please sign in to comment.