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:
parent
f5f9e3308d
commit
b0a37bb512
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user