fix drifttClient default markets and oracles list
This commit is contained in:
@@ -309,11 +309,6 @@ const main = async () => {
|
|||||||
connection,
|
connection,
|
||||||
wallet,
|
wallet,
|
||||||
programID: clearingHousePublicKey,
|
programID: clearingHousePublicKey,
|
||||||
perpMarketIndexes: PerpMarkets[driftEnv].map((mkt) => mkt.marketIndex),
|
|
||||||
spotMarketIndexes: SpotMarkets[driftEnv].map((mkt) => mkt.marketIndex),
|
|
||||||
oracleInfos: PerpMarkets[driftEnv].map((mkt) => {
|
|
||||||
return { publicKey: mkt.oracle, source: mkt.oracleSource };
|
|
||||||
}),
|
|
||||||
accountSubscription: {
|
accountSubscription: {
|
||||||
type: 'polling',
|
type: 'polling',
|
||||||
accountLoader: bulkAccountLoader,
|
accountLoader: bulkAccountLoader,
|
||||||
|
|||||||
Reference in New Issue
Block a user