Skip to content

Commit

Permalink
fix: findPeerWithStoreKey
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed Sep 19, 2024
1 parent 4d17d44 commit d378214
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/DigNetwork/DigNetwork.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,13 @@ export class DigNetwork {
const rootResponse = await digPeer.propagationServer.getStoreData(
`${rootInfo.root_hash}.dat`
);

console.log(rootResponse);

const root = JSON.parse(rootResponse);

console.log(root)

if (!skipData) {
await Promise.all(
root.files.map(async (file: any) => {
Expand Down

0 comments on commit d378214

Please sign in to comment.