@triadxyz/triad-protocol 3.2.0-beta → 3.2.1-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1016,7 +1016,9 @@ class TriadProtocolClient {
|
|
|
1016
1016
|
sellerAuthority: new web3_js_1.PublicKey(order.authority),
|
|
1017
1017
|
sellerTrade: this.getUserPDA(new web3_js_1.PublicKey(order.authority), Number(order.userNonce)),
|
|
1018
1018
|
marketAta: (0, pda_1.getTokenATA)(marketPDA, constants_1.USDC_MINT, spl_token_1.TOKEN_PROGRAM_ID),
|
|
1019
|
-
buyerAta: (0, pda_1.getTokenATA)(this.program.provider.publicKey, constants_1.USDC_MINT, spl_token_1.TOKEN_PROGRAM_ID)
|
|
1019
|
+
buyerAta: (0, pda_1.getTokenATA)(this.program.provider.publicKey, constants_1.USDC_MINT, spl_token_1.TOKEN_PROGRAM_ID),
|
|
1020
|
+
mint: constants_1.USDC_MINT,
|
|
1021
|
+
tokenProgram: constants_1.USDC_MINT
|
|
1020
1022
|
})
|
|
1021
1023
|
.instruction());
|
|
1022
1024
|
remainingUSDC = remainingUSDC.sub(usdcAmount);
|