fix(explorer): serum init open orders has optional openOrdersMarketAuthority (#23875)

This commit is contained in:
Josh
2022-03-23 09:32:24 -07:00
committed by GitHub
parent 6b76391ed2
commit 5541a5873b

View File

@ -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,
},
};
}