show metadatafile in explorer

pull/3094/head
yann300 6 years ago
parent f6198c319d
commit 7b66aec43f
  1. 6
      src/app/contract/publishOnSwarm.js

@ -56,6 +56,12 @@ module.exports = (contract, fileManager, cb, swarmVerifiedPublishCallBack) => {
})
}, () => {
swarmVerifiedPublish(JSON.stringify(metadata), '', (error, result) => {
if (!error && swarmVerifiedPublishCallBack) {
swarmVerifiedPublishCallBack({
content: contract.metadata,
hash: contract.metadataHash
})
}
uploaded.push({
content: contract.metadata,
hash: contract.metadataHash,

Loading…
Cancel
Save