fix
This commit is contained in:
parent
3da1ec3af4
commit
437ac51686
|
@ -28,8 +28,8 @@ import * as feed from "./feed"
|
|||
const cli = new Command()
|
||||
|
||||
const FLUX_AGGREGATOR_SO = path.resolve(__dirname, "../build/flux_aggregator.so")
|
||||
const network = (process.env.NETWORK || "local") as NetworkName
|
||||
const conn = solana.connect(network)
|
||||
export const network = (process.env.NETWORK || "local") as NetworkName
|
||||
export const conn = solana.connect(network)
|
||||
|
||||
class AppContext {
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import WebSocket from "ws"
|
|||
import { decodeOracleInfo, sleep } from "./utils"
|
||||
|
||||
import FluxAggregator from "./FluxAggregator"
|
||||
import { conn } from "./context"
|
||||
import { conn } from "./cli"
|
||||
|
||||
const submitInterval = 10 * 1000
|
||||
|
||||
|
|
Loading…
Reference in New Issue