changed connection to localhost

This commit is contained in:
Sayantan Karmakar 2022-04-09 03:01:13 +05:30
parent 2737aa106a
commit 64d3bb6990
1 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,4 @@
import { import {
clusterApiUrl,
Connection, Connection,
Keypair, Keypair,
LAMPORTS_PER_SOL, LAMPORTS_PER_SOL,
@ -10,7 +9,7 @@ import { assert } from "chai";
import { Dex } from "../src"; import { Dex } from "../src";
describe("Serum Dev Tools", () => { describe("Serum Dev Tools", () => {
const connection = new Connection(clusterApiUrl("devnet"), "confirmed"); const connection = new Connection("http://localhost:8899", "confirmed");
const owner = Keypair.generate(); const owner = Keypair.generate();
const dexAddress = new PublicKey( const dexAddress = new PublicKey(