Skip to content

Commit

Permalink
fix wrong variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
wmira committed Dec 28, 2023
1 parent 0dda95c commit 59ebcbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/includes/_orderbook_blockchain.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {DriftClient, UserMap, Wallet, loadKeypair} from "@drift-labs/sdk";
const connection = new Connection("https://api.mainnet-beta.solana.com");

const keyPairFile = `${process.env.HOME}/.config/solana/my-keypair.json`;
const wallet = new Wallet(loadKeypair(privateKeyFile))
const wallet = new Wallet(loadKeypair(keyPairFile))

const driftClient = new DriftClient({
connection,
Expand Down Expand Up @@ -65,7 +65,7 @@ import {DriftClient, OrderSubscriber, Wallet, loadKeypair} from "@drift-labs/sdk
const connection = new Connection("https://api.mainnet-beta.solana.com");

const keyPairFile = `${process.env.HOME}/.config/solana/my-keypair.json`;
const wallet = new Wallet(loadKeypair(privateKeyFile))
const wallet = new Wallet(loadKeypair(keyPairFile))

const driftClient = new DriftClient({
connection,
Expand Down

0 comments on commit 59ebcbc

Please sign in to comment.