1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

fix issue with generating public key, adapt interface changes of aquarius

This commit is contained in:
Sebastian Gerske 2018-11-16 14:26:58 +01:00
parent 9a90ec80d6
commit 02c36d12ad

View File

@ -105,7 +105,7 @@ export default class Ocean {
owner: did,
},
{
publicKeyBase58: publisher.getPublicKey(),
publicKeyBase58: await publisher.getPublicKey(),
},
],
service: [
@ -121,14 +121,14 @@ export default class Ocean {
conditions: ddoConditions,
} as Service,
{
type: "Compute",
serviceEndpoint: brizo.getComputeEndpoint(publisher.getId(),
serviceDefinitionId, "xxx", "xxx"),
type: "Compute",
} as Service,
{
type: "Metadata",
metadata,
serviceEndpoint,
metadata,
} as Service,
],
})