Skip to content

Commit

Permalink
fix http calls
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshu committed Jul 11, 2024
1 parent a981bc2 commit 7d0f687
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/helpers/nodeUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,15 +384,14 @@ export async function retrieveOrImportShare(params: {
}
const p = post<JRPCResponse<ImportShareRequestResult[]>>(
endpoints[proxyEndpointNum],

generateJsonRPCObject(JRPC_METHODS.IMPORT_SHARES, {
encrypted: "yes",
use_temp: true,
item: items,
key_type: keyType,
one_key_flow: true,
}),
null,
{},
{ logTracingHeader: config.logRequestTracing }
).catch((err) => log.error("share req", err));
promiseArrRequest.push(p);
Expand Down
2 changes: 1 addition & 1 deletion test/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const lookupVerifier = (endpoint: string, pubKeyX: string, pubKeyY: strin
pub_key_x: pubKeyX,
pub_key_y: pubKeyY,
}),
null,
{},
{ logTracingHeader: config.logRequestTracing }
);
};

0 comments on commit 7d0f687

Please sign in to comment.