@triadxyz/poseidons-protocol 0.5.4 → 0.5.5
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/game/wheel.js +11 -11
- package/package.json +1 -1
package/dist/game/wheel.js
CHANGED
|
@@ -180,18 +180,18 @@ class Wheel {
|
|
|
180
180
|
payer: this.rpcOptions.payer
|
|
181
181
|
})
|
|
182
182
|
.instruction());
|
|
183
|
-
ixs.push(yield this.program.methods
|
|
184
|
-
.addWheelTicket({
|
|
185
|
-
tickets: new anchor_1.BN(tickets),
|
|
186
|
-
isUsdc
|
|
187
|
-
})
|
|
188
|
-
.accounts({
|
|
189
|
-
signer: this.program.provider.publicKey,
|
|
190
|
-
user: (0, pda_1.getUserPDA)(this.program.provider.publicKey),
|
|
191
|
-
wheel: (0, pda_1.getWheelPDA)(wheelId)
|
|
192
|
-
})
|
|
193
|
-
.instruction());
|
|
194
183
|
}
|
|
184
|
+
ixs.push(yield this.program.methods
|
|
185
|
+
.addWheelTicket({
|
|
186
|
+
tickets: new anchor_1.BN(tickets),
|
|
187
|
+
isUsdc
|
|
188
|
+
})
|
|
189
|
+
.accounts({
|
|
190
|
+
signer: this.program.provider.publicKey,
|
|
191
|
+
user: (0, pda_1.getUserPDA)(this.program.provider.publicKey),
|
|
192
|
+
wheel: (0, pda_1.getWheelPDA)(wheelId)
|
|
193
|
+
})
|
|
194
|
+
.instruction());
|
|
195
195
|
return (0, sendVersionedTransaction_1.default)(this.program, ixs, this.rpcOptions);
|
|
196
196
|
});
|
|
197
197
|
}
|