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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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