explorer: reverse order on market and event queue pubkeys for serum consume events (#15270)
This commit is contained in:
@@ -181,8 +181,8 @@ export function decodeConsumeEvents(ix: TransactionInstruction): ConsumeEvents {
|
|||||||
|
|
||||||
const consumeEvents: ConsumeEvents = {
|
const consumeEvents: ConsumeEvents = {
|
||||||
openOrdersAccounts: ix.keys.slice(0, -2).map((k) => k.pubkey),
|
openOrdersAccounts: ix.keys.slice(0, -2).map((k) => k.pubkey),
|
||||||
market: ix.keys[ix.keys.length - 3].pubkey,
|
market: ix.keys[ix.keys.length - 2].pubkey,
|
||||||
eventQueue: ix.keys[ix.keys.length - 2].pubkey,
|
eventQueue: ix.keys[ix.keys.length - 3].pubkey,
|
||||||
programId: ix.programId,
|
programId: ix.programId,
|
||||||
limit: decoded.limit,
|
limit: decoded.limit,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user