cleanup
This commit is contained in:
parent
446e4d0463
commit
6805e6e984
|
@ -1673,9 +1673,10 @@ export class JobAccount {
|
||||||
})
|
})
|
||||||
.accounts({
|
.accounts({
|
||||||
job: jobAccount.publicKey,
|
job: jobAccount.publicKey,
|
||||||
authorWallet: params.authority,
|
|
||||||
authority: params.authority,
|
authority: params.authority,
|
||||||
programState: stateAccount.publicKey,
|
programState: stateAccount.publicKey,
|
||||||
|
payer: payerKeypair.publicKey,
|
||||||
|
systemProgram: SystemProgram.programId,
|
||||||
})
|
})
|
||||||
.signers([jobAccount])
|
.signers([jobAccount])
|
||||||
.rpc();
|
.rpc();
|
||||||
|
@ -1706,7 +1707,7 @@ export class JobAccount {
|
||||||
authority: payerKeypair.publicKey,
|
authority: payerKeypair.publicKey,
|
||||||
programState: stateAccount.publicKey,
|
programState: stateAccount.publicKey,
|
||||||
payer: payerKeypair.publicKey,
|
payer: payerKeypair.publicKey,
|
||||||
systemProgram: anchor.web3.SystemProgram.programId,
|
systemProgram: SystemProgram.programId,
|
||||||
})
|
})
|
||||||
.signers([jobAccount])
|
.signers([jobAccount])
|
||||||
.rpc()
|
.rpc()
|
||||||
|
|
Loading…
Reference in New Issue