TS: fixed crank push
This commit is contained in:
parent
22eb21374c
commit
36c4ec1b60
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue