File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
solana/programs/matching-engine/src/fallback/processor Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -432,7 +432,12 @@ pub fn handle_execute_order_shim(accounts: &[AccountInfo]) -> Result<()> {
432
432
// the fast fill will most likely require an additional transaction, so this buffer allows
433
433
// the best offer participant to perform his duty without the risk of getting slashed by
434
434
// another executor.
435
- let additional_grace_period = Some ( crate :: EXECUTE_FAST_ORDER_LOCAL_ADDITIONAL_GRACE_PERIOD ) ;
435
+ let additional_grace_period = match active_auction. target_protocol {
436
+ MessageProtocol :: Local { .. } => {
437
+ crate :: EXECUTE_FAST_ORDER_LOCAL_ADDITIONAL_GRACE_PERIOD . into ( )
438
+ }
439
+ _ => None ,
440
+ } ;
436
441
437
442
let DepositPenalty {
438
443
penalty,
You can’t perform that action at this time.
0 commit comments