Skip to content

Commit 405e115

Browse files
Merge pull request #60 from DIG-Network/release/v0.0.1-alpha.64
Release/v0.0.1 alpha.64
2 parents c7d53a8 + e7d72f2 commit 405e115

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [0.0.1-alpha.64](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.63...v0.0.1-alpha.64) (2024-09-23)
6+
7+
8+
### Bug Fixes
9+
10+
* manifest ([763bf09](https://github.com/DIG-Network/dig-chia-sdk/commit/763bf093cde8470cf46ea5ff7cfd5e00cb964025))
11+
512
### [0.0.1-alpha.63](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.62...v0.0.1-alpha.63) (2024-09-23)
613

714

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": "@dignetwork/dig-sdk",
3-
"version": "0.0.1-alpha.63",
3+
"version": "0.0.1-alpha.64",
44
"description": "",
55
"type": "commonjs",
66
"main": "./dist/index.js",

src/DataIntegrityTree/DataIntegrityTree.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ class DataIntegrityTree {
9393
this.files = new Map();
9494

9595
if (options.rootHash) {
96-
const manifest = this._loadManifest();
97-
if (manifest.includes(options.rootHash)) {
96+
if (fs.existsSync(path.join(this.storeDir, `${options.rootHash}.dat`))) {
9897
this.tree = this.deserializeTree(options.rootHash);
9998
} else {
10099
throw new DataLayerError(

0 commit comments

Comments
 (0)