Skip to content

Commit

Permalink
fix up poller;
Browse files Browse the repository at this point in the history
  • Loading branch information
bz888 committed Apr 17, 2024
1 parent 72d0947 commit d57f260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/node/src/utils/kyve/kyve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ export class KyveApi {

const writeStream = fs.createWriteStream(bundleFilePath, {
flags: 'wx',
mode: 0o200, // write only access for owner
});

try {
Expand Down Expand Up @@ -258,7 +259,6 @@ export class KyveApi {

private async getBundleData(bundle: BundleDetails): Promise<string> {
const bundleFilePath = this.getBundleFilePath(bundle.id);

try {
await this.downloadAndProcessBundle(bundle);
return await this.readFromFile(bundleFilePath);
Expand Down

0 comments on commit d57f260

Please sign in to comment.