From 246f732b140b8b7a78ce686b78d87714189371d4 Mon Sep 17 00:00:00 2001 From: Alcibiades Athens Date: Sat, 18 Nov 2023 17:07:15 -0500 Subject: [PATCH] fix: example support anvil --- examples/rust/examples/maker/maker.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/rust/examples/maker/maker.rs b/examples/rust/examples/maker/maker.rs index 1ef9f75..e22c9de 100644 --- a/examples/rust/examples/maker/maker.rs +++ b/examples/rust/examples/maker/maker.rs @@ -219,8 +219,8 @@ async fn run( } let chain_id: U256 = quote.chain_id.clone().unwrap().into(); - if chain_id != U256::from(421613_u64) { - warn!("RFQ request was not on the testnet chain. Ignoring the request"); + if chain_id != U256::from(421613_u64) && chain_id != U256::from(31337_u64) { + warn!("Chain ID: {chain_id:?} is not supported/not a testnet. Ignoring the request"); continue; }