Skip to content

Commit

Permalink
Merge pull request #43 from valorem-labs-inc/alcibiades/val-1574-inte…
Browse files Browse the repository at this point in the history
…grate-dockerized-backend-and-example-mm-with-frontend-ci

fix: add anvil support
  • Loading branch information
0xAlcibiades authored Dec 15, 2023
2 parents 5471913 + 2d14378 commit 3fa3dcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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) {
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 Expand Up @@ -288,7 +288,7 @@ async fn run<P: JsonRpcClient + 'static>(
}

let chain_id: U256 = quote.chain_id.clone().unwrap().into();
if chain_id != U256::from(421613_u64) {
if chain_id != U256::from(421613_u64) || chain_id != U256::from(31337_u64) {
warn!("Soft Quote request was not on the testnet chain. Ignoring the request");
continue;
}
Expand Down

0 comments on commit 3fa3dcd

Please sign in to comment.