openbook-dex / openbook-v2

openbook-v2 monorepo, contains solana program and ts client
Other
165 stars 96 forks source link

Expire orders per instruction and not per new order #210

Open binyebarwe opened 11 months ago

binyebarwe commented 11 months ago

Current code does:

pub fn new_order(
if !best_opposing.is_valid() {