From 7b715fe32427e5fa0d1b75ca9ef8cbb93720efde Mon Sep 17 00:00:00 2001 From: Alcibiades Athens Date: Fri, 15 Dec 2023 14:14:50 -0500 Subject: [PATCH] fix: and, not or --- examples/rust/examples/maker/maker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/rust/examples/maker/maker.rs b/examples/rust/examples/maker/maker.rs index b217a8a..e0f75e5 100644 --- a/examples/rust/examples/maker/maker.rs +++ b/examples/rust/examples/maker/maker.rs @@ -249,7 +249,7 @@ async fn run( } let chain_id: U256 = quote.chain_id.clone().unwrap().into(); - if chain_id != U256::from(421613_u64) || chain_id != U256::from(31337_u64) { + if chain_id != U256::from(421613_u64) && chain_id != U256::from(31337_u64) { warn!("RFQ request was not on the testnet chain. Ignoring the request"); continue; }