Commit 0a1bf379 authored by yann300's avatar yann300

show metadatafile in explorer

parent 2f2974fe
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment