fix BN import

This commit is contained in:
Tyler Shipe 2021-02-22 17:36:45 -05:00
parent 7f254fe289
commit 2ee17d3607
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import * as BN from 'bn.js';
import BN from 'bn.js';
import { PublicKey, SYSVAR_CLOCK_PUBKEY, TransactionInstruction } from '@solana/web3.js';
import { Order } from '@project-serum/serum/lib/market';
import { encodeMangoInstruction } from './layout';

View File

@ -1,6 +1,6 @@
import { bits, BitStructure, Blob, Layout, seq, struct, u32, u8, u16, UInt, union } from 'buffer-layout';
import { PublicKey } from '@solana/web3.js';
import * as BN from 'bn.js';
import BN from 'bn.js';
export const NUM_TOKENS = 3;
export const NUM_MARKETS = NUM_TOKENS - 1;