|
|
@@ -54,9 +54,9 @@ public class AssetMintService {
|
|
|
asset.setBlockNumber(nft.getBlockNumber());
|
|
|
asset.setTxHash(nft.getTxHash());
|
|
|
asset.setGasUsed(nft.getGasUsed());
|
|
|
- if (asset.getIpfsUrl() == null) {
|
|
|
- asset.setIpfsUrl(ipfsUpload(asset.getPic().get(0).getUrl()));
|
|
|
- }
|
|
|
+// if (asset.getIpfsUrl() == null) {
|
|
|
+// asset.setIpfsUrl(ipfsUpload(asset.getPic().get(0).getUrl()));
|
|
|
+// }
|
|
|
assetRepo.save(asset);
|
|
|
applicationContext.publishEvent(new CreateAssetEvent(this, true, asset));
|
|
|
} else {
|