1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

remove blob content

This commit is contained in:
alexcos20 2020-10-21 06:43:32 -07:00
parent f5f9e3308d
commit b0a37bb512

View File

@ -92,15 +92,8 @@ export class Assets extends Instantiable {
this.logger.log('Creating datatoken')
observer.next(CreateProgressStep.CreatingDataToken)
const metadataCacheUri = this.ocean.metadatacache.getURI()
const jsonBlob = { t: 1, url: metadataCacheUri }
dtAddress = await datatokens.create(
JSON.stringify(jsonBlob),
publisher.getId(),
cap,
name,
symbol
)
// const jsonBlob = { t: 1, url: metadataCacheUri }
dtAddress = await datatokens.create('', publisher.getId(), cap, name, symbol)
if (!isAddress(dtAddress)) {
this.logger.error(