Skip to content

Commit

Permalink
remove blob content
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcos20 committed Oct 21, 2020
1 parent f5f9e33 commit b0a37bb
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/ocean/Assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit b0a37bb

Please sign in to comment.