Skip to content

Commit

Permalink
Merge pull request #2593 from Giveth/fix/remove_hash_ipfs_upload_for_now
Browse files Browse the repository at this point in the history
  • Loading branch information
aminlatifi authored Apr 7, 2022
2 parents 9beabb6 + 4a04b2e commit 7392045
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/TraceService.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ class TraceService {
}
}
const profileHash = await this.uploadToIPFS(trace);
if (!profileHash) return onError();
// if (!profileHash) return onError();

// if a proposed or rejected trace, create/update it only in feathers
if ([Trace.PROPOSED, Trace.REJECTED].includes(trace.status)) {
Expand Down Expand Up @@ -608,7 +608,7 @@ class TraceService {
}
}

return await IPFSService.upload(trace.toIpfs());
// return await IPFSService.upload(trace.toIpfs());
} catch (err) {
if (err != null) {
ErrorPopup('Failed to upload trace to ipfs');
Expand Down

0 comments on commit 7392045

Please sign in to comment.