We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ad6d50 commit 66c04f8Copy full SHA for 66c04f8
solana/programs/matching-engine/src/fallback/processor/prepare_order_response.rs
@@ -289,15 +289,6 @@ pub fn prepare_order_response_cctp_shim(
289
MatchingEngineError::InvalidEndpoint
290
);
291
292
- // Check that the from endpoint protocol is cctp or local
293
- require!(
294
- matches!(
295
- from_endpoint_account.protocol,
296
- MessageProtocol::Cctp { .. } | MessageProtocol::Local { .. }
297
- ),
298
- MatchingEngineError::InvalidEndpoint
299
- );
300
-
301
// Check that to endpoint chain is equal to the fast_market_order target_chain
302
require_eq!(
303
to_endpoint_account.chain,
0 commit comments