mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
fix typo
This commit is contained in:
parent
b07dc6daea
commit
1ad87f9185
@ -60,7 +60,7 @@ export class OnChainMetadataStore {
|
||||
consumerAccount: string
|
||||
): Promise<TransactionReceipt> {
|
||||
let flags = 0
|
||||
const compressed = this.LZMACompressDDO(ddo)
|
||||
const compressed = await this.LZMACompressDDO(ddo)
|
||||
flags = flags | 1
|
||||
return this.publishRaw(didZeroX(did), flags, compressed, consumerAccount)
|
||||
}
|
||||
@ -78,7 +78,7 @@ export class OnChainMetadataStore {
|
||||
consumerAccount: string
|
||||
): Promise<TransactionReceipt> {
|
||||
let flags = 0
|
||||
const compressed = this.LZMACompressDDO(ddo)
|
||||
const compressed = await this.LZMACompressDDO(ddo)
|
||||
flags = flags | 1
|
||||
return this.updateRaw(didZeroX(did), flags, compressed, consumerAccount)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user