@triadxyz/triad-protocol 1.0.7-beta → 1.0.8-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/stake.js +3 -0
- package/package.json +1 -1
package/dist/stake.js
CHANGED
|
@@ -238,6 +238,9 @@ class Stake {
|
|
|
238
238
|
const ixs = [];
|
|
239
239
|
for (const stake of stakes) {
|
|
240
240
|
const rank = (0, getRarityRank_1.default)(ranks, stake.mint, stake.name);
|
|
241
|
+
if (ixs.length >= 10) {
|
|
242
|
+
break;
|
|
243
|
+
}
|
|
241
244
|
const stakeVaultPDA = (0, stake_1.getStakeVaultPDA)(this.program.programId, this.stakeVaultName);
|
|
242
245
|
const stakePDA = (0, stake_1.getStakePDA)(this.program.programId, wallet, stake.name);
|
|
243
246
|
ixs.push(yield this.program.methods
|