Skip to content

Commit 06c7053

Browse files
committed
Fix CI
1 parent 6a1bf29 commit 06c7053

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

utils/createOrders.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,8 @@ export async function signOrder(
275275
domain: TypedDataDomain,
276276
order: Record<string, any>,
277277
signer: SignerWithAddress,
278-
): Promise<void> {
279-
signStruct(getTypeOf(order), order, domain, signer);
278+
) {
279+
return signStruct(getTypeOf(order), order, domain, signer);
280280
}
281281

282282
/**
@@ -287,8 +287,13 @@ export async function signOrderOperation(
287287
domain: TypedDataDomain,
288288
orderOperation: OrderOperation,
289289
signer: SignerWithAddress,
290-
): Promise<void> {
291-
signStruct(getTypeOf(orderOperation.order) + 'Operation', orderOperation, domain, signer);
290+
) {
291+
return signStruct(
292+
getTypeOf(orderOperation.order) + 'Operation',
293+
orderOperation,
294+
domain,
295+
signer,
296+
);
292297
}
293298

294299
/**

0 commit comments

Comments
 (0)