fixed getMarginAccountsForOwner

This commit is contained in:
dd 2021-02-09 16:11:27 -05:00
parent ca32f542ee
commit 319f96f833
1 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ import {
import { Market, OpenOrders } from '@project-serum/serum';
import { TOKEN_PROGRAM_ID } from '@project-serum/serum/lib/token-instructions';
import { Order } from '@project-serum/serum/lib/market';
import Wallet from '@project-serum/sol-wallet-adapter';
export class MangoGroup {
@ -681,7 +682,7 @@ export class MangoClient {
connection: Connection,
programId: PublicKey,
mangoGroup: MangoGroup,
owner: Account
owner: Account | Wallet
): Promise<MarginAccount[]> {
const filters = [