dont close on accept order
This commit is contained in:
@@ -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()],
|
seeds = [b"order", order_account.listing.as_ref(), order_account.buyer.as_ref(), &order_account.order_id.to_le_bytes()],
|
||||||
bump = order_account.bump,
|
bump = order_account.bump,
|
||||||
constraint = seller.key() == order_account.seller @ SolistingError::Unauthorized,
|
constraint = seller.key() == order_account.seller @ SolistingError::Unauthorized,
|
||||||
close = seller,
|
|
||||||
)]
|
)]
|
||||||
pub order_account: Account<'info, OrderAccount>,
|
pub order_account: Account<'info, OrderAccount>,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user