Skip to content

Commit 61a8de1

Browse files
committed
forgot to update proof type
1 parent 34ce055 commit 61a8de1

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jackallabs/jackal.js",
3-
"version": "3.6.7",
3+
"version": "3.6.8",
44
"description": "Javascript library for interacting with the Jackal Chain",
55
"keywords": [
66
"jackal",

src/classes/encodingHandler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export class EncodingHandler {
258258
merkle: pkg.meta.export().merkleRoot,
259259
fileSize: pkg.file.size,
260260
proofInterval: this.proofInterval,
261-
proofType: 0, // 0 for sha3_512, 3 for blake3
261+
proofType: 3, // 0 for sha3_512, 3 for blake3
262262
maxProofs: 3,
263263
expires: this.createExpiresValue(pkg.duration, currentBlock),
264264
note: JSON.stringify({}),
@@ -275,7 +275,7 @@ export class EncodingHandler {
275275
merkle: pkg.meta.export().merkleRoot,
276276
fileSize: pkg.size,
277277
proofInterval: this.proofInterval,
278-
proofType: 0, // 0 for sha3_512, 3 for blake3
278+
proofType: 3, // 0 for sha3_512, 3 for blake3
279279
maxProofs: 3,
280280
expires: this.createExpiresValue(pkg.duration, currentBlock),
281281
note: JSON.stringify({}),

0 commit comments

Comments
 (0)