Skip to content

Commit

Permalink
Merge pull request #81 from DIG-Network/release/v0.0.1-alpha.87
Browse files Browse the repository at this point in the history
Release/v0.0.1 alpha.87
  • Loading branch information
MichaelTaylor3D authored Sep 25, 2024
2 parents 18fc7f6 + 9a14f98 commit a8c5c9f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

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.

### [0.0.1-alpha.87](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.86...v0.0.1-alpha.87) (2024-09-25)


### Bug Fixes

* integrity check when downloading files ([f6deefd](https://github.com/DIG-Network/dig-chia-sdk/commit/f6deefda9d64d4e255a8bc4a378ae57391f904db))

### [0.0.1-alpha.86](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.85...v0.0.1-alpha.86) (2024-09-25)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dignetwork/dig-sdk",
"version": "0.0.1-alpha.86",
"version": "0.0.1-alpha.87",
"description": "",
"type": "commonjs",
"main": "./dist/index.js",
Expand Down
8 changes: 5 additions & 3 deletions src/DigNetwork/PropagationServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -698,9 +698,11 @@ export class PropagationServer {
);

if (!fs.existsSync(path.join(tempDir, dataPath))) {
throw new Error(
`Missing file: ${Buffer.from(fileKey, "hex")}, aborting session.`
);
if (!fs.existsSync(path.join(STORE_PATH, storeId, dataPath))) {
throw new Error(
`Missing file: ${Buffer.from(fileKey, "hex")}, aborting session.`
);
}
}
}

Expand Down

0 comments on commit a8c5c9f

Please sign in to comment.