From 7ba8793ae0667ecd28b2a1728f012b88e86a025e Mon Sep 17 00:00:00 2001 From: Britt Cyr Date: Tue, 6 Feb 2024 13:42:19 -0500 Subject: [PATCH] Remove nullish --- ts/client/src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/client/src/client.ts b/ts/client/src/client.ts index 694204a70..f652c1f4c 100644 --- a/ts/client/src/client.ts +++ b/ts/client/src/client.ts @@ -973,7 +973,7 @@ export class OpenBookV2Client { userBaseAccount: userBaseAccount, userQuoteAccount: userQuoteAccount, referrerAccount: referrerAccount, - penaltyPayer: penaltyPayer ?? PublicKey.default, + penaltyPayer: penaltyPayer, }) .instruction();