From 02c26e186f4c9c8e73ad980c4346af2f0839e29f Mon Sep 17 00:00:00 2001 From: thesn10 <38666407+thesn10@users.noreply.github.com> Date: Fri, 26 Jun 2026 19:13:30 +0200 Subject: [PATCH] dont close on accept order --- programs/solisting/src/instructions/accept_order.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/programs/solisting/src/instructions/accept_order.rs b/programs/solisting/src/instructions/accept_order.rs index 83063c5..a152c2a 100644 --- a/programs/solisting/src/instructions/accept_order.rs +++ b/programs/solisting/src/instructions/accept_order.rs @@ -23,7 +23,6 @@ pub struct AcceptOrder<'info> { seeds = [b"order", order_account.listing.as_ref(), order_account.buyer.as_ref(), &order_account.order_id.to_le_bytes()], bump = order_account.bump, constraint = seller.key() == order_account.seller @ SolistingError::Unauthorized, - close = seller, )] pub order_account: Account<'info, OrderAccount>,