Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
marktoda committed Feb 29, 2024
1 parent 01f686d commit c03d5fc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 169 deletions.
164 changes: 0 additions & 164 deletions :

This file was deleted.

6 changes: 1 addition & 5 deletions lib/handlers/hard-quote/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,7 @@ export class QuoteHandler extends APIGLambdaHandler<
// TODO: use server key to cosign instead of local wallet
const cosignerData = getCosignerData(request, bestQuote);
const cosignature = await cosigner.signDigest(request.order.cosignatureHash(cosignerData));
const cosignedOrder = CosignedV2DutchOrder.fromUnsignedOrder(
request.order,
cosignerData,
cosignature
);
const cosignedOrder = CosignedV2DutchOrder.fromUnsignedOrder(request.order, cosignerData, cosignature);

try {
await orderServiceProvider.postOrder(cosignedOrder, request.innerSig, request.quoteId);
Expand Down

0 comments on commit c03d5fc

Please sign in to comment.