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