prettier+serum connection override
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
b22a979551
commit
f571bd86fb
|
@ -1,2 +1 @@
|
|||
ts/client/src/mango_v4.ts
|
||||
ts/client/scripts/**
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"singleQuote": true,
|
||||
"trailingComma": "all"
|
||||
}
|
|
@ -359,7 +359,7 @@ export class Group {
|
|||
Array.from(this.serum3MarketsMapByExternal.values()).map(
|
||||
(serum3Market) =>
|
||||
Market.load(
|
||||
client.program.provider.connection,
|
||||
client.program.provider.connection as any,
|
||||
serum3Market.serumMarketExternal,
|
||||
{ commitment: client.program.provider.connection.commitment },
|
||||
OPENBOOK_PROGRAM_ID[client.cluster],
|
||||
|
|
|
@ -133,7 +133,7 @@ export class Serum3Market {
|
|||
this.serumMarketExternal,
|
||||
);
|
||||
return await serum3MarketExternal.loadBids(
|
||||
client.program.provider.connection,
|
||||
client.program.provider.connection as any,
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -142,7 +142,7 @@ export class Serum3Market {
|
|||
this.serumMarketExternal,
|
||||
);
|
||||
return await serum3MarketExternal.loadAsks(
|
||||
client.program.provider.connection,
|
||||
client.program.provider.connection as any,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue