TS: fixed crank push

This commit is contained in:
Conner Gallagher 2022-07-01 15:48:00 -06:00
parent 22eb21374c
commit 36c4ec1b60
1 changed files with 4 additions and 1 deletions

View File

@ -2933,6 +2933,8 @@ export class CrankAccount {
.crankPush({ .crankPush({
stateBump, stateBump,
permissionBump, permissionBump,
nofitiRef: null,
notifiRef: null,
}) })
.accounts({ .accounts({
crank: this.publicKey, crank: this.publicKey,
@ -3763,10 +3765,11 @@ export class VrfAccount {
for (let i = 0; i < tryCount; ++i) { for (let i = 0; i < tryCount; ++i) {
txs.push({ txs.push({
tx: await this.program.methods tx: await this.program.methods
.vrfVerify({ .vrfProveAndVerify({
nonce: i, nonce: i,
stateBump, stateBump,
idx, idx,
proof: Buffer.from(""),
}) })
.accounts({ .accounts({
vrf: this.publicKey, vrf: this.publicKey,