fix drifttClient default markets and oracles list

This commit is contained in:
wphan
2023-06-01 07:34:02 -07:00
parent 60d1c5d754
commit d82adca917

View File

@@ -309,11 +309,6 @@ const main = async () => {
connection,
wallet,
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: {
type: 'polling',
accountLoader: bulkAccountLoader,