File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -52,11 +52,11 @@ export async function createAssetScheme(
5252 //
5353 }
5454 if ( metadataObj && metadataObj . icon_url ) {
55- await AssetImageModel . createAssetImage (
55+ // NOTE: No await here because the URL might be unreachable or slow
56+ AssetImageModel . createAssetImage (
5657 transactionHash ,
5758 assetType ,
58- metadataObj . icon_url ,
59- options
59+ metadataObj . icon_url
6060 ) ;
6161 }
6262 } catch ( err ) {
Original file line number Diff line number Diff line change @@ -51,11 +51,11 @@ export async function createChangeAssetScheme(
5151 // The metadata can be non-JSON.
5252 }
5353 if ( metadataObj && metadataObj . icon_url ) {
54- await AssetImageModel . createAssetImage (
54+ // NOTE: No await here because the URL might be unreachable or slow
55+ AssetImageModel . createAssetImage (
5556 transactionHash ,
5657 strip0xPrefix ( assetType ) ,
57- metadataObj . icon_url ,
58- options
58+ metadataObj . icon_url
5959 ) ;
6060 }
6161 await createAssetTypeLog ( transaction , assetType , options ) ;
You can’t perform that action at this time.
0 commit comments