dont close on accept order

This commit is contained in:
thesn10
2026-06-26 19:13:30 +02:00
parent 12f1344138
commit 02c26e186f

View File

@@ -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>,