Skip to content

Commit

Permalink
fix: and, not or
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAlcibiades committed Dec 15, 2023
1 parent 3fa3dcd commit 7b715fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/rust/examples/maker/maker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ async fn run<P: JsonRpcClient + 'static>(
}

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;
}
Expand Down

0 comments on commit 7b715fe

Please sign in to comment.