fix BN import
This commit is contained in:
parent
7f254fe289
commit
2ee17d3607
|
@ -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';
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue