change datakey to dataKey

This commit is contained in:
Karol Wypchlo 2021-10-27 14:59:08 +02:00
parent 26cfaeec65
commit 121dbee1c2
No known key found for this signature in database
GPG Key ID: C92C016317A964D0
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ async function registryWriteAndReadCheck(done) {
const time = process.hrtime();
const data = { name: "registry_write_and_read", up: false };
const { privateKey, publicKey } = genKeyPairAndSeed();
const expected = { datakey: "foo-key", data: "foo-data", revision: BigInt(0) };
const expected = { dataKey: "foo-key", data: "foo-data", revision: BigInt(0) };
try {
await skynetClient.registry.setEntry(privateKey, expected);