Skip to content

Commit 802143c

Browse files
committed
fix: commented out seek and claimIdEncoded for requestChainData for now
1 parent 9ad0e73 commit 802143c

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

src/nodes/NodeManager.ts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import type { Host, Port } from '../network/types';
1717
import type {
1818
Claim,
1919
ClaimId,
20-
ClaimIdEncoded,
20+
// ClaimIdEncoded,
2121
SignedClaim,
2222
} from '../claims/types';
2323
import type { ClaimLinkNode } from '../claims/payloads';
@@ -1257,17 +1257,19 @@ class NodeManager {
12571257
return await this.withConnF(targetNodeId, ctx, async (connection) => {
12581258
const claims: Record<ClaimId, SignedClaim> = {};
12591259
const client = connection.getClient();
1260-
let claimIdEncoded: ClaimIdEncoded | undefined;
12611260

1262-
if (claimId != null) {
1263-
claimIdEncoded = claimsUtils.encodeClaimId(claimId);
1264-
} else {
1265-
claimIdEncoded = undefined;
1266-
}
1261+
// Let claimIdEncoded: ClaimIdEncoded | undefined;
1262+
1263+
// if (claimId != null) {
1264+
// claimIdEncoded = claimsUtils.encodeClaimId(claimId);
1265+
// } else {
1266+
// claimIdEncoded = undefined;
1267+
// }
12671268

12681269
for await (const agentClaim of await client.methods.nodesClaimsGet(
12691270
{
1270-
seek: claimIdEncoded,
1271+
// Needs to be addressed later - causes test failures in Discovery.test.ts
1272+
// seek: claimIdEncoded,
12711273
},
12721274
ctx,
12731275
)) {

0 commit comments

Comments
 (0)