From 5541a5873b85e53b4041980fbbf3b2c698a8b1af Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 23 Mar 2022 09:32:24 -0700 Subject: [PATCH] fix(explorer): serum init open orders has optional openOrdersMarketAuthority (#23875) --- explorer/src/components/instruction/serum/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explorer/src/components/instruction/serum/types.ts b/explorer/src/components/instruction/serum/types.ts index a2d6c41395..4e077b644d 100644 --- a/explorer/src/components/instruction/serum/types.ts +++ b/explorer/src/components/instruction/serum/types.ts @@ -500,7 +500,7 @@ export function decodeInitOpenOrders( openOrders: ix.keys[0].pubkey, openOrdersOwner: ix.keys[1].pubkey, market: ix.keys[2].pubkey, - openOrdersMarketAuthority: ix.keys[4].pubkey, + openOrdersMarketAuthority: ix.keys[4]?.pubkey, }, }; }