Commit 102fe90 1 parent 889643f commit 102fe90 Copy full SHA for 102fe90
File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ struct OffchainInput {
38
38
}
39
39
40
40
#[ allow( non_snake_case) ]
41
- #[ derive( Serialize , Deserialize ) ]
41
+ #[ derive( Serialize , Deserialize , Debug ) ]
42
42
/// Proof data for a Succinct X function call.
43
43
/// This is the data that is returned from the Succinct X API.
44
44
struct SuccinctProofData {
@@ -387,10 +387,12 @@ impl SuccinctClient {
387
387
let client = Arc :: new ( SignerMiddleware :: new ( provider, wallet. clone ( ) ) ) ;
388
388
389
389
let address = get_gateway_address ( succinct_proof_data. chain_id ) ;
390
- info ! (
391
- "Could not find canonical gateway address for chain {}" ,
392
- succinct_proof_data. chain_id
393
- ) ;
390
+ if address. is_none ( ) {
391
+ info ! (
392
+ "Could not find canonical gateway address for chain {}" ,
393
+ succinct_proof_data. chain_id
394
+ ) ;
395
+ }
394
396
395
397
// If gateway_address is provided, use that instead of the canonical gateway address.
396
398
let mut gateway_address = gateway_address. or ( address) . expect (
You can’t perform that action at this time.
0 commit comments