ts: maintain alt script was missing perp market relevant pubkeys
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
755dbd7ec0
commit
603ca0b224
|
@ -248,6 +248,21 @@ async function run(): Promise<void> {
|
|||
.flat()
|
||||
.map((serum3ExternalMarket) => serum3ExternalMarket.asksAddress),
|
||||
);
|
||||
await extendTable(
|
||||
client,
|
||||
group,
|
||||
payer,
|
||||
'perp market event queues, bids, and asks',
|
||||
altAddress1,
|
||||
Array.from(group.perpMarketsMapByMarketIndex.values())
|
||||
.flat()
|
||||
.map((perpMarket) => [
|
||||
perpMarket.eventQueue,
|
||||
perpMarket.bids,
|
||||
perpMarket.asks,
|
||||
])
|
||||
.flat(),
|
||||
);
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue