diff --git a/client/ts/src/uiWrapperObj.ts b/client/ts/src/uiWrapperObj.ts index bfbd46d9f..b7ed6aa61 100644 --- a/client/ts/src/uiWrapperObj.ts +++ b/client/ts/src/uiWrapperObj.ts @@ -381,6 +381,7 @@ export class UiWrapper { const traderTokenProgram = isBid ? accounts.quoteTokenProgram : accounts.baseTokenProgram; + const traderTokenAccount = getAssociatedTokenAddressSync( mint, owner, @@ -423,6 +424,7 @@ export class UiWrapper { mint, manifestProgram: MANIFEST_PROGRAM_ID, payer, + tokenProgram: traderTokenProgram, baseMint: market.baseMint(), baseGlobal, baseGlobalVault, @@ -604,6 +606,7 @@ export class UiWrapper { const traderTokenProgram = isBid ? accounts.quoteTokenProgram : accounts.baseTokenProgram; + const traderTokenAccount = getAssociatedTokenAddressSync( mint, accounts.owner, @@ -658,6 +661,7 @@ export class UiWrapper { baseGlobal, baseGlobalVault, baseMarketVault, + tokenProgram: traderTokenProgram, baseTokenProgram: accounts.baseTokenProgram || TOKEN_PROGRAM_ID, quoteMint: market.quoteMint(), quoteGlobal, diff --git a/package.json b/package.json index ff81376f9..aa20500c4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cks-systems/manifest-sdk", - "version": "0.1.70", + "version": "0.1.71", "files": [ "dist/", "README.md",