Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Jan 19, 2024
1 parent 6038440 commit 22213c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/src/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,11 @@ impl SuccinctClient {
let client = Arc::new(SignerMiddleware::new(provider, wallet.clone()));

let address = get_gateway_address(succinct_proof_data.chain_id);
info!(
"Could not find canonical gateway address for chain {}",
succinct_proof_data.chain_id
);

// If gateway_address is provided, use that instead of the canonical gateway address.
let mut gateway_address = gateway_address.or(address).expect(
"Gateway address must be provided when relaying a proof in local mode
Expand Down

0 comments on commit 22213c5

Please sign in to comment.